[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-714) Session objects returned by injection should implement SessionImplementor in addition to o.h.classic.Session

Emmanuel Bernard (JIRA) jira-events at jboss.com
Fri Sep 22 09:11:01 EDT 2006


Session objects returned by injection should implement SessionImplementor in addition to o.h.classic.Session
------------------------------------------------------------------------------------------------------------

                 Key: EJBTHREE-714
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-714
             Project: EJB 3.0
          Issue Type: Bug
          Components: EJB3 Extensions
    Affects Versions: EJB 3.0 RC9 - FD
            Reporter: Emmanuel Bernard
            Priority: Minor


Hibernate internally can cast a session object to
org.hibernate.classic.Session (subinterface of org.hibernate.Session)
org.hibernate.engine.SessionImplementor

This is especially useful when using the DetachedCriteria API

So at least org.jboss.ejb3.entity.TransactionScopedHibernateSession should implement it

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

        



More information about the jboss-jira mailing list