Allow proxy classes to be passed in to API methods
--------------------------------------------------
Key: HHH-2670
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2670
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.1
Environment: Any
Reporter: Mike Quilleash
Specifically
session.get()
sessionFactory.getClassMetadata()
At the moment if you have a proxy object and do the following
session.get( proxyObject.getClass(), id );
You'll get an exception because it just does .getName() on the class.
Ideally all the hibernate APIs should handle proxy classes being passed in and normalise
them to the base class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira