Joined: Fri Nov 07, 2003 9:26 am Posts: 3
|
Hey,
My problem : I get a proxy object when I call token.getNode() (the mapping of Token is shown below) :
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$790e4660
I would like to get the node instance instead. What could I do to prevent this behaviour ?
Using hibernate 3.2.
Thank you for your help.
LF
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-access="field">
<class name="org.jbpm.graph.exe.Token"
table="JBPM_TOKEN">
<id name="id" column="ID_"><generator class="native" /></id>
<version name="version" column="VERSION_" />
<many-to-one name="node"
column="NODE_"
foreign-key="FK_TOKEN_NODE" />
</class>
</hibernate-mapping>
|
|