[hibernate-dev] Unable to dispatch Entities in different jars

Bouiaw bouiaw at gmail.com
Wed Feb 3 11:43:03 EST 2010


Hi,

I would like to warn you about a blocking (from my point of view)
issue in Hibernate 3.5 (JIRA issue :
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4864).

Dispatching entities is not supported out of the box by Hibernate/JPA,
but with a small tweak commonly used
(http://ancientprogramming.blogspot.com/2007/05/multiple-persistencexml-files-and.html)
it is possible to acheive this.

This worked with previous version of Hibernate, but not anymore in
Hibernate 3.5 betas.

Even if this is not specified in JPA, this is mandatory for a lot of
developer to do modular applications (each module (JAR) provide its
own DAO, business and model layer).

I hope you will be able to fix HHH-4864, because this is a blocking
point for a lot of developers.

Thanks in advance for your feedback,
Bouiaw



More information about the hibernate-dev mailing list