hibernate - SQL String or binary data would be truncated Error -
i trying execute insert statement through hibernate hibernate.save(entity) table.it gives error:
sql error: 8152, sqlstate: 22001 string or binary data truncated.
when try execute query on sql editor works fine through hibernate.save(entity)
its gives me above error.can please me out whats issue is?
usually issue related columns' type , length, check length big enough or data type compatible. binary string overflow when being populated int (int32), etc.
Comments
Post a Comment