• Hibernate Compatibility Matrix

    This page is out of date: content has moved there for Hibernate ORM.there for Hibernate Search,there for Hibernate Validator, and there for Hibernate OGM. Please note that as of 3.5.x Hibernate Core, Hibernate Annota...
    Profile Photo
    last modified by y.rodiere
  • This content is obsolete - go to https://hibernate.org/community/

    The Hibernate-related content on https://developer.jboss.org/ is mostly obsolete and will no longer be updated.   For links to up-to-date documentation and ways to discuss Hibernate projects, please see https://...
    Profile Photo
    last modified by y.rodiere
  • Hibernate Forum Migration

    Would you prefer to see the existing forum data migrated to the new forums when they launch?
    Profile Photo
    last modified by sebersole
  • Hibernate Core Migration Guide : 4.0

    This document is a work in progress as we develop 4.0   Initial move to ServiceRegistry.  For now, see design wikis or sources for more information.  Not all "services" have been migrated to this model...
    Profile Photo
    last modified by sebersole
  • Hibernate Core Migration Guide : 5.0

    This document is a work in progress as we develop 5.0   1. Deprecated classes/interfaces that have been removed:        1.1 HHH-7712 : EntityTuplizer#instantiate(Serializable id) / rese...
    Profile Photo
    last modified by stliu
  • Hibernate Migration 4.3.7 to 5.0.6 (Wildfly 10CR5) SchemaManagementException: Schema-validation: missing table

    Hi all   During the migration (I changed only version in pom of my project) I'm reciving the error:   11:29:55,571 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC000001: Failed to...
    Profile Photo
    last modified by franco80
  • UserType for persisting an Enum with a VARCHAR column

    UserType for persisting an Enum with a VARCHAR column The following code is a 'template' to easy Enum (Java 1.5) mapping. See also https://community.jboss.org/wiki/Java5EnumUserType import java.io.Serializable; impo...
    Profile Photo
    last modified by rogerdpack
  • Java 5 EnumUserType

    Hibernate 3 Parameterized type for mapping a Java 5 Enum. This allows you to avoid the need to define a concrete UserType instance for every enum that you have. Just create a new typedef for each one, giving it a uniq...
    Profile Photo
    last modified by rogerdpack
  • LazyInitializationException overcome

    In Hibernate, relationships can be defined so that they are "lazily initialized"; i.e., the relationship is only initialized when it is determined that the information contained in the additional table is needed. This...
    Profile Photo
    last modified by timsabin
  • Hibernate & Sybase integration

    This wiki is for recording the issues we found when using hibernate on Sybase.   hibernate source: core:  https://github.com/hibernate/hibernate-orm   testing environment info: OS: RHEL 5 (if you're ...
    Profile Photo
    last modified by maheshgadgil
  • Specific Hibernate entity cache configuration ignored in Hibernate-Infinispan integration

    Being Hibernate specific, this forum is more appropiate. Please follow the link.
    Profile Photo
    last modified by godiedelrio
  • Generic Data Access Objects

    The DAO interfaces An implementation with Hibernate Preparing DAOs with factories Preparing DAOs with manual dependency injection Preparing DAOs with lookup Writing DAOs as managed EJB 3.0 componen...
    Profile Photo
    last modified by sebersole
  • Publishing statistics through JMX

    Generality Publish a per JNDI JMX MBean Publish a per session factory JMX MBean Having a JMX infrastructure when the application is standalone JMX clients for the statistics MBean Enable RMI publis...
    Profile Photo
    last modified by sebersole
  • Open Session in View

    Sessions and transactions is required reading to understand this pattern. This page describes Hibernate 3.1.x and code shown here does not work in older versions. The problem Using an interceptor What ...
    Profile Photo
    last modified by brainxor
  • Sessions and transactions

    This page explains common techniques to deal with the Session and transactions in Hibernate applications. Refer to the Hibernate reference documentation and the "Transactions and Concurrency" chapter for more informat...
    Profile Photo
    last modified by brainxor
  • Supported Databases2

    This page is maintained by the Hibernate user community! See JBoss Enterprise Application Platform supported configurations if you are looking for database management systems and drivers that have been certified by J...
    Profile Photo
    last modified by rbuck
  • Maybe bug in the documentation

    Hi to all.   I was taking a look to the hibernate docs. I was worried about the example in the link:  Chapter 6. Entity listeners and Callback methods   @Entity @EntityListeners(class=Audit.class) pub...
    Profile Photo
    last modified by m.biesmann
  • Java 5 StringValuedEnumUserType

    Hibernate 3 Parameterized type for mapping a Java 5 Enum with string values. This allows you to avoid the need to define a concrete UserType instance for every enum that you have. Just create a new typedef for each on...
    Profile Photo
    last modified by newacct
  • Equals and HashCode

    Java's Collections and Relational database (and thus Hibernate) relies heavily on being able to distinguish objects in a unified way. In Relational database's this is done with primary keys, in Java we have equals() a...
    Profile Photo
    last modified by sebersole
  • Two Sessionfactories with two databases

    Hi there, im using Hibernate 4 and have an architecture with two databases. Therefor i have two session-factories. What i want to do now, and that drives me nuts is the following. I have Entity A from DB A and Entity...
    Profile Photo
    last modified by tmdolphin