Exception estranha provida do postgree [java.sql.BatchUpdateException]

0 respostas
W

OLá, tenho a seguinte exception:

aused by: java.sql.BatchUpdateException: Entrada em lote 0 update public.TIPO_PACOTE set ATIVO='1', DESCRICAO='pacote', SIGLA='pct' where id='15' foi abortada. Chame getNextException para ver a causa.
	at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2619)
	at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:457)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2752)
	at com.mchange.v2.sql.filter.FilterPreparedStatement.executeBatch(FilterPreparedStatement.java:260)
	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
	... 73 more

ela acontece quando eu tento editar um registro com informações de um que já existe

Criado 23 de outubro de 2012
Respostas 0
Participantes 1