Hi:

Does anybody know what is the mistake here?

i'm using the Connection object to start a transaction using :
[conection_name].commit();
[conection_name].setAutoCommit(false);
try
{
..
PreparedStatement1.executeUpdate();
PreparedStatement2.executeUpdate();
[conection_name].commit();
..
}
catch (SQLException e)
{
[conection_name].rollback();
}

then shows the error "Invalid Cursor State"
by the way the driver is com.ibm.as400.access.AS400JDBCDriver
and i use the datasource model to obtain the connecction
Sergio Moreno V.
AFP PREVISION * BBV
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to