on 06-20-2008 9:33 AM
Hi,
I am facing some problem with the input format. I am using the table name as data.employee. But i could not able to process the message forward. I am getting this error,
com.ibm.db2.jcc.c.SqlException: java.sql.Connection.close() requested while a transaction is in progress on the connection.The transaction remains active, and the connection cannot be closed.
Can you please help me prposing a solution for this format.
Thanks,
SOorya
Hi,
According to me its not the problem of not supporting data format. It is because of Connection problem with Database. You have to handle transaction properly. You are closing connection before the transaction.
Thanks,
RamuV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you are missing out the COMMIT operation.
At the DB2 end before closing the connection if you do a 'COMMIT' then this may remove your error.
i.e. after you close the Resultset>close the statement object> perform 'COMMIT' operation--> then close the connection.
Also refer :-
http://www.dbforums.com/archive/index.php/t-976407.html
http://www.dbforums.com/showthread.php?t=1628183
I hope this will help you.
Thanks,
Vijaya
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.