Use dynamic proxies to implement delegation in persistence
----------------------------------------------------------
Key: JBSEAM-3457
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3457
Project: Seam
Issue Type: Feature Request
Components: Search
Reporter: Emmanuel Bernard
Fix For: 2.1.1.CR1
Today, when someone throw the new Hibernate Search version or a new Hibernate Core version
having more methods in (FullText)Session, Seam blows up as (FullText)HibernateSessionProxy
and (FullText)EntityManagerProxy directly implement those interfaces.
An alternative approach could be to reimplement those proxies as dynamic proxies passing
through unknown methods.
Either the JDK dynamic proxy approach or the Javassist equivalent can be used.
--
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