Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by prakash
, 1 year ago
PreparedStatementCallback; SQL [INSERT into SO.BATCH_JOB_INSTANCE(JOB_INSTANCE_ID, JOB_NAME, JOB_KEY, VERSION) values (?, ?, ?, ?)]; ORA-00001: unique constraint (SO.PK_BATCH_JOB_INSTANCE) violated ; nested exception is java.sql.SQLException: ORA
org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [INSERT into SO.BATCH_JOB_INSTANCE(JOB_INSTANCE_ID, JOB_NAME, JOB_KEY, VERSION) values (?, ?, ?, ?)]; ORA-00001: unique constraint (SO.PK_BATCH_JOB_INSTANCE) violated ; nested exception is java.sql.SQLException: ORA-00001: unique constraint (SO.PK_BATCH_JOB_INSTANCE) violated at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:241)	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:603)	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:812)	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:868)	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:872)	at org.springframework.batch.core.repository.dao.JdbcJobInstanceDao.createJobInstance(JdbcJobInstanceDao.java:117)	at org.springframework.batch.core.repository.support.SimpleJobRepository.createJobExecution(SimpleJobRepository.java:131)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)	at java.lang.reflect.Method.invoke(Method.java:611)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)	at com.sun.proxy.$Proxy244.createJobExecution(Unknown Source)	at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:111)	at org.springframework.batch.core.launch.support.CommandLineJobRunner.start(CommandLineJobRunner.java:340)	at org.springframework.batch.core.launch.support.CommandLineJobRunner.main(CommandLineJobRunner.java:541)