Search in sources :

Example 1 with DatabaseProperties

use of org.apereo.cas.configuration.model.support.jpa.DatabaseProperties in project cas by apereo.

the class JpaBeanFactory method newJpaVendorAdapter.

/**
 * New jpa vendor adapter.
 *
 * @return the jpa vendor adapter
 */
default JpaVendorAdapter newJpaVendorAdapter() {
    val properties = new DatabaseProperties();
    properties.setGenDdl(true);
    properties.setShowSql(true);
    return newJpaVendorAdapter(properties);
}
Also used : lombok.val(lombok.val) DatabaseProperties(org.apereo.cas.configuration.model.support.jpa.DatabaseProperties)

Aggregations

lombok.val (lombok.val)1 DatabaseProperties (org.apereo.cas.configuration.model.support.jpa.DatabaseProperties)1