JAVA with AS/400 as back end
I am using java as my front end, and have AS/400 files at the back end. I am using JDBC diver to connect to AS/400 in my Session EJB. Now my problem is I have transactions, in which either all the queries should sucess, or all should fail. LIke if first query succeeds, and second query fails, then I need to roll back the earlier transaction also.
3:43:42,060 INFO [STDOUT] SQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExceptionSQLExc ep
ionSQLExceptionjava.sql.SQLException: You cannot rollback during a managed transaction!
3:43:42,060 ERROR [STDERR] java.sql.SQLException: You cannot set autocommit during a managed transaction!
3:43:42,060 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWr
Can you please help me out guys.
Thanks Alot in Advance
By Jugg in forum VB Classic
Last Post: 04-03-2006, 12:40 AM
By K. Soe in forum VB Classic
Last Post: 03-08-2003, 06:25 PM
By Scott in forum VB Classic
Last Post: 12-21-2001, 04:21 PM
By Amy in forum VB Classic
Last Post: 12-20-2000, 11:21 PM
By Julian Milano in forum VB Classic
Last Post: 08-10-2000, 09:16 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center