Instead of addressing your question directly (which you can easily do yourself by consulting the javadocs for Java 1.4), I'll just point out that the more interesting question is whether the JDBC driver and the database you use support this feature. The JDK only defines this interface, but the DB and the driver together implement it.
Fine Thanks. I used the type 4 driver for oracle,it is loading properly ,Even there is no problem while making a connection.
I have written the above code.I have the table SavePintDemo with the field id, name & salary. The output it generates using jdk1.5 as :
Type4 driver is registered Connection established Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.Ora cleConnection.setSavepoint(Ljava/lang/String Ljava/sql/Savepoint; at SavePointDemo.<init>(SavePointDemo.java:41) at SavePointDemo.main(SavePointDemo.java:78)
Thanks in advance.
Joined: Feb 02, 2006
Actually i tried the savepoint ( above given code) using type4 , type1 driver. For type1 -- It doesn.t support this feature. For type4-- It givees me abstartctmethosd--above ,mentioned exeption.
Can anybody tell me which driver supports this feature?
note: The savepoint feature works with oracle DB.I tried it.