Joined: Wed Dec 20, 2006 1:39 pm Posts: 2
|
3.2:
**hbm.xml:
I have a following mapping file
<hibernate-mapping default-lazy="false">
<class name="com.xyz.Event">
<meta attribute="generated-class" inherit="false">com.xyz.generated.EventGen</meta>
.
.
Is there any way I can get Class name (not the generated-class) from POJOClass interface? I am using underlying Cfg2JavaTool to get the POJOClass and I need to get the name of the impl class in this case "com.xyz.Event" instead of "com.xyz.generated.EventGen" which is returned by pojo.getDeclarationName().
Any hints/info/tricks/solution will be appreciated.
Thanks,
Sean
|
|