-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: SQL Error: 0, SQLState: 22001
PostPosted: Thu Feb 27, 2014 4:58 am 
Newbie

Joined: Mon Feb 24, 2014 5:20 am
Posts: 1
When I tried to insert data into a table through flush() method, It is working fine in Internet Explorer but throwing the below error in 'Mozilla firefox' and 'Google Chrome'. It seems to be very strange.

02:39:55,688 WARN [org.hibernate.util.JDBCExceptionReporter] (ajp-localhost/127.0.0.1:8009-1) SQL Error: 0, SQLState: 22001
02:39:55,688 ERROR [org.hibernate.util.JDBCExceptionReporter] (ajp-localhost/127.0.0.1:8009-1) Data truncation
02:39:55,688 WARN [org.hibernate.util.JDBCExceptionReporter] (ajp-localhost/127.0.0.1:8009-1) SQL Error: 8152, SQLState: 22001
02:39:55,688 ERROR [org.hibernate.util.JDBCExceptionReporter] (ajp-localhost/127.0.0.1:8009-1) String or binary data would be truncated.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.