[wildfly-dev] Hibernate 5 in WildFly 9...

Scott Marlow smarlow at redhat.com
Wed Jun 4 10:55:01 EDT 2014


Hi,

Just a heads up for others, that I started making local changes to 
integrate the Hibernate ORM master (5.0) branch in Jipijapa and WildFly 
master (9.0).  If others would like to contribute on this effort, I can 
share links to my integration branches.

So far, I have been keeping the 1-1 bidirectional Hibernate dependencies 
in mind for this work.  Currently, this is done by placing the latest 
Hibernate ORM jars in the org.hibernate:main module.  Placeholder 
modules are also available for earlier Hibernate releases 
(org.hibernate:3 + org.hibernate:4.1).  When we introduce Hibernate 5 as 
the default in WildFly 9, we will also have a legacy org.hibernate:4.3 
module.

Applications can also include persistence providers as well, they just 
need to include the Jipijapa integration classes as well (see 
https://docs.jboss.org/author/display/WFLY8/JPA+Reference+Guide#JPAReferenceGuide-PackagingpersistenceproviderswithyourapplicationandwhichJipijapaartifactstoinclude).

We also could look at doing something similar to Hibernate ORM 
org.hibernate.boot.registry.selector.spi.StrategySelector (if we can 
find something to group on.)  In the past, we talked about adding 
logical names for each (future) persistence provider module name, so 
that users could use a shorter (logical) name in their application 
configuration (e.g. persistence.xml hints).

It would also be awesome to have a configuration setting for specifying 
the default persistence provider name based on a logical name that could 
be specified in standalone.xml.

Question:  Is anyone against removing Hibernate 3.x support from WildFly 9?

Scott


More information about the wildfly-dev mailing list