List of usage examples for org.hibernate.cfg AvailableSettings USE_NEW_ID_GENERATOR_MAPPINGS
String USE_NEW_ID_GENERATOR_MAPPINGS
To view the source code for org.hibernate.cfg AvailableSettings USE_NEW_ID_GENERATOR_MAPPINGS.
Click Source Link
From source file:org.springframework.boot.autoconfigure.orm.jpa.JpaPropertiesTests.java
License:Apache License
@Test public void useNewIdGeneratorMappingsTrue() throws Exception { JpaProperties properties = load(HibernateVersion.V5, "spring.jpa.hibernate.use-new-id-generator-mappings:true"); Map<String, String> hibernateProperties = properties.getHibernateProperties(mockStandaloneDataSource()); assertThat(hibernateProperties).containsEntry(AvailableSettings.USE_NEW_ID_GENERATOR_MAPPINGS, "true"); }