List Info

Thread: Created: (JBSEAM-2158) Can't inject a org.hibernate.classic.Session




Created: (JBSEAM-2158) Can't inject a org.hibernate.classic.Session
country flaguser name
United States
2007-10-25 16:21:01
Can't inject a org.hibernate.classic.Session
--------------------------------------------

                 Key: JBSEAM-2158
                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2158
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.0.0.CR3
            Reporter: Clint Popetz


If one does 

import org.hibernate.classic.Session;

In
Session session;

the injection throws an IllegalArgumentException, because
HibernateSessionProxy doesn't implement the classic Session
interface.  It seems harmless to do this, and would allow
for easier migration of large source bases from loyal
hibernate early adoptees that are now transitioning to the
next-big-thing.

If making HibernateSessionProxy implement the classic
interface would be acceptable, please make note of it here
and I'll create a patch to that effect.


-- 
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.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )