Add a method of getting the entity class from a proxy class
-----------------------------------------------------------
Key: HHH-2671
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2671
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.1
Environment: Any
Reporter: Mike Quilleash
Currently you can get the object class from a proxy object by calling Hibernate.getClass(
proxyObject ).
A method for getting the object class from a proxy class would also be useful. Contrived
example.
Hibernate.getClass( proxyObject.getClass() )
OR
Hibernate.getClass( proxyClass )
So if I did
Hibenerate.getClass( obj1.getObj2().getClass() )
the class of the Obj2 relationship would be returned rather than the proxy 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