[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-714) Session objects returned by injection should implement SessionImplementor in addition to o.h.classic.Session
Emmanuel Bernard (JIRA)
jira-events at lists.jboss.org
Thu Mar 1 13:01:09 EST 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-714?page=comments#action_12354732 ]
Emmanuel Bernard commented on EJBTHREE-714:
-------------------------------------------
I fixed my part of the FullTextSession bug, but EJB3 has to implement org.hibernate.classic.Session, org.hibernate.engine.SessionImplementor, org.hibernate.jdbc.JDBCContext.Context, and org.hibernate.event.EventSource
see my previous comment.
> 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
> Fix For: AS 4.2.0 CR2
>
>
> 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