Skip to content

HyperJAXB3 Hibernate

Laurent Schoelens edited this page May 17, 2024 · 2 revisions

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.

Maven artifact

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>3.4.0.GA</version>
</dependency>

Persistence properties

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
Clone this wiki locally