java.sql.BatchUpdateException: A statement attempted to return a result set in executeBatch().

Hot problem!
This exception has a lot of traffic. You can help 17 users by writing a short tip.

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 jtds by zbone
, 1 year ago
A statement attempted to return a result set in executeBatch().
via jtds by celandro
, 1 year ago
Your server command (family id #0, process id #221) encountered a deadlock situation. Please re-run your command.
via Stack Overflow by OldCurmudgeon
, 2 years ago
Violation of PRIMARY KEY constraint 'PK_CustomerSpend'. Cannot insert duplicate key in object 'dbo.CustomerSpend'. The duplicate key value is (498288 ).
via runawfe by mgaido
, 1 year ago
DELETE statement conflicted with COLUMN REFERENCE constraint 'FKC74438DB696B9F9'. The conflict occurred in database 'JBPMDev', table 'JBPM\_VARIABLEINSTANCE', column 'token'.
via GitHub by mav7014
, 2 years ago
There is already an object named '#temp_dates' in the database.
java.sql.BatchUpdateException: A statement attempted to return a result set in executeBatch().
at identity_management.testtrigger_0_1.TestTrigger.tRowGenerator_1Process(TestTrigger.java:1199)
at identity_management.testtrigger_0_1.TestTrigger.runJobInTOS(TestTrigger.java:5290)
at identity_management.testtrigger_0_1.TestTrigger.main(TestTrigger.java:5024)

Users with the same issue

2 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.