Hi Friend, I am trying to use Savepoint to control rollback,but it is giving java.lang.UnsupportedOperationException.I have given connection.setAutoCommit(false); at the constructor.When I am removing Savepoint then it is working.Could anybody suggest where I am going wrong. Thanks in adv Sonu
1. what database engine are you using? 2. what jdbc driver are you using? 3. what ver of the jdk are you using? Minus this informations. A quick guess would be that you driver, by default, is not supporting SAVEPOINT. You may have to... 1. turn on an option on you driver... not always done within java 2. upgrade you driver 3. apply a patch to your driver 4. upgrade the ver of java you are using Hope this helps
Multi Platform Database Developer & DBA on E.S.T.
Joined: Jan 23, 2002
Hi Monty, I am using JDBC-ODBC Bridge Driver which comes with the JDK1.4. I am using Access as Database. Could you be more details on your suggestion Thanks in adv Sonu [ July 09, 2002: Message edited by: Sonu Ghosh ]
I don't think MS Access itself supports transactions, so it would be difficult, if not impossible to provide transaction support via jdbc: Taken from here, "the Jet engine does not support atomic transactions: It does not guarantee that all changes performed within a transaction boundary are committed or rolled back." Jamie