• Post Reply Bookmark Topic Watch Topic
  • New Topic

Qury problem?  RSS feed

 
sudhakar Tadepalli
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this post to the thread you meant to reply too.

Mark
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!