]
Dan Allen commented on JBSEAM-2158:
-----------------------------------
I don't see anything stopping us from doing this. Please submit a patch.
Can't inject a org.hibernate.classic.Session
--------------------------------------------
Key: JBSEAM-2158
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2158
Project: 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: