mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 12:14:47 +00:00
Remove left-over references to @ServiceRegistry.Setting (follow-up on commit 'Fix compilation errors' - 9770b49)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
4de1870785
commit
9965551056
@ -4,6 +4,7 @@
|
|||||||
import org.hibernate.testing.orm.junit.ServiceRegistry;
|
import org.hibernate.testing.orm.junit.ServiceRegistry;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
||||||
|
import org.hibernate.testing.orm.junit.Setting;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
@ -19,9 +20,9 @@
|
|||||||
@ServiceRegistry(
|
@ServiceRegistry(
|
||||||
settings = {
|
settings = {
|
||||||
// can define settings here, or in `hibernate.properties` file
|
// can define settings here, or in `hibernate.properties` file
|
||||||
@ServiceRegistry.Setting( name = URL, value = "jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;LOCK_TIMEOUT=10000" ),
|
@Setting( name = URL, value = "jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;LOCK_TIMEOUT=10000" ),
|
||||||
@ServiceRegistry.Setting( name = USER, value = "sa" ),
|
@Setting( name = USER, value = "sa" ),
|
||||||
@ServiceRegistry.Setting( name = PASSWORD, value = "" )
|
@Setting( name = PASSWORD, value = "" )
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@DomainModel( annotatedClasses = SimpleEntity.class )
|
@DomainModel( annotatedClasses = SimpleEntity.class )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user