What is the difference between jdbc1.1 and jdbc1.2?

Showing Answers 1 - 12 of 12 Answers

bandana

  • Nov 21st, 2006
 

marker interface has no methods but why we r using marker interface many cases

  Was this answer useful?  Yes

developer

  • Dec 1st, 2006
 

In jdbc1.1, the connection is obtained through the DriverManager class where as jdbc1.2 supports getting connection through DataSource.

  Was this answer useful?  Yes

vineel

  • Dec 17th, 2006
 

Hai, I am vineel.

I would like to tell what i know regarding this question.



1) In JDBC 1.1 the cursor can be moved only in one direction i.e in forward direction where as in jdbc 1.2 the cursor can be moved in both direction.



2) In JDBC 1.1 we cant read the desired record.if we want to read 5th record than we have to call next method five times.where as in jdbc 1.2 we can read desired record by using absolute(),and relative()



3) In JDBC 1.1 the resultset obtained cannot be updated. this is only for reading purpose.where as in jdbc 1.2 it can be updated.



4) In JDBC 1.1 we cannot use SQL3 data types like BLOB,CLOB,STRUCT,ARRAY.where as we can use in jdbc 1.2



5) Batch updates are not supported in jdbc 1.1 where as in jdbc1.2 they are supported



Thanks

  Was this answer useful?  Yes

vineelbachu

  • Dec 17th, 2006
 

hai iam vineel. i would like to tell what i know regarding this question.1)in jdbc 1.1 the cursor can be moved only in one direction i.e in forward direction where as in jdbc 1.2 the cursor can be moved in both direction.2)in jdbc 1.1 we cant read the desired record.if we want to read 5th record than we have to call next method five times.where as in jdbc 1.2 we can read desired record by using absolute(),and relative()3)in jdbc 1.1 the resultset obtained cannot be updated.this is only for reading purpose.where as in jdbc 1.2 it can be updated.4)in jdbc 1.1 we cannot use SQL3 data types like BLOB,CLOB,STRUCT,ARRAY.where as we can use in jdbc 1.25)batch updates are not supported in jdbc 1.1 where as in jdbc1.2 they are supported thanks

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions