Specification for Hibernate tests
Type | Name and description |
---|---|
HibernateDatastore |
hibernateDatastore |
org.springframework.transaction.PlatformTransactionManager |
transactionManager |
org.springframework.transaction.TransactionStatus |
transactionStatus The transaction status |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
cleanup() |
|
java.util.Map |
getConfiguration() @return The configuration |
|
java.util.List<java.lang.Class> |
getDomainClasses() @return The domain classes |
|
org.hibernate.Session |
getHibernateSession() @return the current Hibernate session |
|
org.hibernate.SessionFactory |
getSessionFactory() @return the current session factory |
|
boolean |
isRollback() Whether to rollback on each test (defaults to true) |
|
void |
setup() |
|
void |
setupSpec() |
The transaction status
Whether to rollback on each test (defaults to true)