org.springframework.dao.DataIntegrityViolationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Spring Batch job metadata persistence issue
    via Stack Overflow by sachin jain
    ,
    • org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [UPDATE BATCH_JOB_EXECUTION_CONTEXT SET SHORT_CONTEXT = ?, SERIALIZED_CONTEXT = ? WHERE JOB_EXECUTION_ID = ?]; data exception: string data, right truncation; nested exception is java.sql.SQLDataException: data exception: string data, right truncation More stack trace: Caused by: org.hsqldb.HsqlException: data exception: string data, right truncation at org.hsqldb.error.Error.error(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.error.Error.error(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.types.CharacterType.castOrConvertToType(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.types.CharacterType.convertToType(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.StatementDML.getUpdatedData(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.StatementDML.executeUpdateStatement(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.StatementDML.getResult(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.StatementDMQL.execute(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.Session.executeCompiledStatement(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3] at org.hsqldb.Session.execute(Unknown Source)[hsqldb-2.3.3.jar!/:2.3.3]
    No Bugmate found.