[
https://jira.jboss.org/jira/browse/JBSEAM-3205?page=com.atlassian.jira.pl...
]
Pete Muir commented on JBSEAM-3205:
-----------------------------------
Actually it would need to be <T> T
PersistenceProvider.instance().getDelegate(Class<T> clazz, EntityManager
entityManager);
Yes, that is the signature we want. I believe Christian and Dan wanted this method to make
it easy to get e.g. a Session or a FullTextSession from the EntityManager rather than
having to do a cast.
Make it easier to get the delegate you want
-------------------------------------------
Key: JBSEAM-3205
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3205
Project: Seam
Issue Type: Feature Request
Components: Core
Reporter: Pete Muir
Assignee: Emmanuel Bernard
Fix For: 2.1.0.BETA2
PersistenceProvider.instance.getDelegate(Class clazz) which returns the requested
delegate (e.g. a FullTextSession)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira