Fix compilation errors

This commit is contained in:
Andrea Boriero 2020-12-11 10:30:18 +01:00
parent 33358df72b
commit 9770b49c4b
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ import org.hibernate.testing.orm.junit.DomainModel;
import org.hibernate.testing.orm.junit.ServiceRegistry;
import org.hibernate.testing.orm.junit.SessionFactory;
import org.hibernate.testing.orm.junit.SessionFactoryScope;
import org.hibernate.testing.orm.junit.Setting;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
@ -48,7 +49,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
@SessionFactory(
exportSchema = false
)
@ServiceRegistry(settings = @ServiceRegistry.Setting(name =Environment.HBM2DDL_AUTO, value = ""))
@ServiceRegistry(settings = @Setting(name =Environment.HBM2DDL_AUTO, value = ""))
public class NewGeneratorMappingsTest {

View File

@ -11,6 +11,7 @@ import org.hibernate.testing.orm.junit.DomainModel;
import org.hibernate.testing.orm.junit.ServiceRegistry;
import org.hibernate.testing.orm.junit.SessionFactory;
import org.hibernate.testing.orm.junit.SessionFactoryScope;
import org.hibernate.testing.orm.junit.Setting;
import org.junit.jupiter.api.Test;
import static org.hibernate.cfg.AvailableSettings.IMPLICIT_NAMING_STRATEGY;
@ -31,7 +32,7 @@ import static org.hibernate.cfg.AvailableSettings.IMPLICIT_NAMING_STRATEGY;
* primary key (id_idA, id_idB)
* )
*/
@ServiceRegistry(settings = @ServiceRegistry.Setting(name = IMPLICIT_NAMING_STRATEGY, value = "component-path"))
@ServiceRegistry(settings = @Setting(name = IMPLICIT_NAMING_STRATEGY, value = "component-path"))
public class IdClassNamingStrategyTest {
@Test