-
Notifications
You must be signed in to change notification settings - Fork 33
Hibernate
Alexey Valikov edited this page Aug 31, 2017
·
1 revision
Hibernate is probably the most popular ORM package for Java. In the context of JPA, Hibernate provides the Hibernate EntityManager package.
Hyperjaxb3 supports Hibernate. As the matter of fact, most of test projects are tested with Hibernate.
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.4.0.GA</version>
</dependency>
persistence.properties
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.connection.driver_class=org.hsqldb.jdbcDriver
hibernate.connection.username=sa
hibernate.connection.password=
hibernate.connection.url=jdbc:hsqldb:target/test-database/database
hibernate.hbm2ddl.auto=create-drop
hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
hibernate.jdbc.batch_size=0