spring - GenericJDBCException - Could not update -


i'm trying update record in database , i'm getting following error.

i'm trying figure out error means. sqlcode -302 says 1 of values may have exceeded allowed length, have checked values being saved db - when took values , run query manually, records being updated.

jdbcexception w org.hibernate.util.jdbcexceptionreporter logexceptions sql error: -302, sqlstate: 22001

jdbcexception e

org.hibernate.util.jdbcexceptionreporter logexceptions db2 sql error: sqlcode: -302, sqlstate: 22001, sqlerrmc: null abstractflush e

org.hibernate.event.def.abstractflushingeventlistener performexecutions not synchronize database state session

org.hibernate.exception.genericjdbcexception: not update: [com.me.model.myclass#6849972133] @ org.hibernate.exception.sqlstateconverter.handlednonspecificexception(sqlstateconverter.java:82) @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:70) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.persister.entity.basicentitypersister.update(basicentitypersister.java:2000) @ org.hibernate.persister.entity.basicentitypersister.updateorinsert(basicentitypersister.java:1909) @ org.hibernate.persister.entity.basicentitypersister.update(basicentitypersister.java:2149) @ org.hibernate.action.entityupdateaction.execute(entityupdateaction.java:75) @ org.hibernate.engine.actionqueue.execute(actionqueue.java:239) @ org.hibernate.engine.actionqueue.executeactions(actionqueue.java:223) @ org.hibernate.engine.actionqueue.executeactions(actionqueue.java:137) @ org.hibernate.event.def.abstractflushingeventlistener.performexecutions(abstractflushingeventlistener.java:274) @ org.hibernate.event.def.defaultflusheventlistener.onflush(defaultflusheventlistener.java:27) @ org.hibernate.impl.sessionimpl.flush(sessionimpl.java:730) @ org.springframework.orm.hibernate3.hibernateaccessor.flushifnecessary(hibernateaccessor.java:394) @ org.springframework.orm.hibernate3.hibernatetemplate.execute(hibernatetemplate.java:367) @ org.springframework.orm.hibernate3.hibernatetemplate.update(hibernatetemplate.java:658) @ org.springframework.orm.hibernate3.hibernatetemplate.update(hibernatetemplate.java:654)


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -