-
Sub-task
-
Resolution: Won't Do
-
Major
-
None
-
None
Currently Hibernate is used within JBossAS for EJB3 as well as the Hibernate-intg code, with plans/discussions to expand usage to JBoss Messaging and JBossMQ. This represents Hibernate usage as an internal implementation detail
Additionally, Hibernate is also used within JBossAS by user applications. This represents Hibernate usage as a deployment detail.
Currently, the two are not isolated from each other. Thus, a user attempting to bundle Hibernate with their application is actually using the Hibernate bundled with EJB3 and/or the integration code. This can cause problems when we have internal usage and external usage needing to rely on different releases of Hibernate.
Need to devise a scheme to isolate the internal usages of Hibernate. Two potential solutions:
1) source-level import and package renaming of Hibernate code (i.e. org.jboss.hibernate)
2) some form of classloader isolation
- relates to
-
JBAS-1858 Hibernate Service JNDI lookup returns null
- Closed