Hi,
I am using websphere 4.0 when i get a connection from the DataSource and do a SELECT statement, when i close the connection it throws an exception
"WorkRolledbackException: Outstanding work on this connection was not committed or rolled back by the user and has been rolledback."
I did not change anything... i just selected a few rows.. select * from mytable (i read somewhere on the net that i can rollback everytime to avoid this exception)
I dont want to rollback everytime i use the db.. i am not getting this problem if i use DriverManager.getConnection() but i want to use DataSources.. any help....
Thanks,
Dushy
I am using websphere 4.0 when i get a connection from the DataSource and do a SELECT statement, when i close the connection it throws an exception
"WorkRolledbackException: Outstanding work on this connection was not committed or rolled back by the user and has been rolledback."
I did not change anything... i just selected a few rows.. select * from mytable (i read somewhere on the net that i can rollback everytime to avoid this exception)
I dont want to rollback everytime i use the db.. i am not getting this problem if i use DriverManager.getConnection() but i want to use DataSources.. any help....
Thanks,
Dushy