Example usage for org.springframework.boot.autoconfigure.orm.jpa HibernateSettings HibernateSettings

List of usage examples for org.springframework.boot.autoconfigure.orm.jpa HibernateSettings HibernateSettings

Introduction

In this page you can find the example usage for org.springframework.boot.autoconfigure.orm.jpa HibernateSettings HibernateSettings.

Prototype

HibernateSettings

Source Link

Usage

From source file:org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration.java

@Override
protected Map<String, Object> getVendorProperties() {
    Supplier<String> defaultDdlMode = () -> this.defaultDdlAutoProvider.getDefaultDdlAuto(getDataSource());
    return new LinkedHashMap<>(this.hibernateProperties.determineHibernateProperties(
            getProperties().getProperties(), new HibernateSettings().ddlAuto(defaultDdlMode)
                    .hibernatePropertiesCustomizers(this.hibernatePropertiesCustomizers)));
}