Forums Register Login

Qury problem?

+Pie Number of slices to send: Send
Paul, Thanks for your reply, Id property is not a primary ky but Hiber nate propertis file forcing to declare one Id property.

<class name="Data" table="TestTable">
<id name="id" column="SCENEID" type="long">
<generator class="assigned" />
</id>

<property name="personid" column="PERSONID" type="long" />
<property name="nodeid" column="NODEID" type="long" />
<property name="name" column="NAME" type="java.lang.String" />
<property name="value" column="VALUE" type="java.lang.String" />
</class>

Thanks
+Pie Number of slices to send: Send
Moving this post to the thread you meant to reply too.

Mark
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 952 times.
Similar Threads
Hibernate Spring,CompositeKey Update failure
hibernate mapping
Hibernate Query problem.
hbm.xml file does an update instead of an insert- Helppppp
Error reading resource Hibernate
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:43:14.