[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2158) Can't inject a org.hibernate.classic.Session
Clint Popetz (JIRA)
jira-events at lists.jboss.org
Thu Oct 25 17:21:01 EDT 2007
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.atlassian.com/software/jira
More information about the seam-issues
mailing list