CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> Java

 current transaction is aborted

Print topic Send  topic

Author Message

Posts: 1
Posted: 10/06/2008, 6:52 AM

Hi all,
our application uses a pool of database connection. Sometimes a statement (often it is an INSERT or UPDATE statement) give and error that invalidate our transaction.

From that moment on, I get exceptions like this:
org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction  
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(  
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(  
        at org.postgresql.core.v3.QueryExecutorImpl.execute(  
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(  
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(  
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(  
        at com.codecharge.db.RawCommand.getOneRow(  
        at Login.LoginDataObject.load(  
        at Login.LoginAction$  
        at Login.LoginAction$LoginClass.perform(  
        at Login.LoginAction.perform(  
        at com.codecharge.ControllerServlet.service(  
        at javax.servlet.http.HttpServlet.service(  
and no other database activity may be done.

The problem can be solved calling connection.rollback() when catching the first exception, but that code is automatically generated by codecarge so we cannot change it.

Is there any viable solution?

Thank you very much,
View profile  Send private message

Posts: 5971
Posted: 10/08/2008, 7:24 AM

Can you please contact product support at
Peter R.
YesSoftware Forums Moderator
For product support please visit
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.