• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error help

 
Srivalli KVR
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am updating a table in the following way.
mapping:
<class name="GroupDetailsFormVo" table="le_rep_submit">
<id name="SUBMITID" type="int" column="submit_id">
<generator class="increment"/>
</id>
<property name="SUBMITSTATUS" type="int">
<column name="submit_status" />
</property>

</class>

updating in Hdao class:
GroupDetailsFormVo user = (GroupDetailsFormVo)session.load(GroupDetailsFormVo.class, new Integer(317));
user.setSUBMITSTATUS(3);


but still i encounter the folowing errors:

String or binary data would be truncated.

ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
Can any one tell what this error mean..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic