• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error help

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


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

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..
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!