Hello all,
we have some persistent entities, which have to be serialized for sending them through rmi-calls. This entities are mapped like this:
Code:
<class entity-name="EntityA" table="TABLEA">
...
<map name="ATTRIBUTES" fetch="subselect" cascade="all" lazy="false">
<key not-null="true">
<column name="ID" />
</key>
<map-key column="NAME" type="string" />
<one-to-many entity-name="ATTRIBUTE" />
</map>
</class>
On the client side we get some "java.lang.ClassNotFoundException: org.hibernate.collection.PersistentMap" because there are no hibernate classes and I don't want to put hibernate classes on the client.
How can I prevent this exception?
Thank you in advance,
Mark