[jboss-jira] [JBoss JIRA] Closed: (JBAS-2577) isolating Hibernate as an internal impl detail

Steve Ebersole (JIRA) jira-events at lists.jboss.org
Wed Aug 27 14:36:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBAS-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed JBAS-2577.
--------------------------------

    Resolution: Rejected


The 'correct' way to do this in AS5 (after discussions with Ales) seems to be instead to properly OSGI-ify Hibernate.

> isolating Hibernate as an internal impl detail
> ----------------------------------------------
>
>                 Key: JBAS-2577
>                 URL: https://jira.jboss.org/jira/browse/JBAS-2577
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Hibernate service
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: JBossAS-5.0.0.CR2
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list