What is static Synchronized method in JDBC API? Give an
example?
Answers were Sorted based on User's Feedback
Answer / indrani
getConnection is the synchronised and static method
| Is This Answer Correct ? | 36 Yes | 3 No |
Answer / venkat
getConnection is not synchronized method,but it is static
registerDriver(java.sql.driver);
deregisterDriver(java.sql.driver);
the above two methods are synchronized methods
if any one have doubet
go to command prompt type following command
javap java.sql.DriverManager
| Is This Answer Correct ? | 1 Yes | 1 No |
commit() and rollback() methods are defined in which interface?
which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.
Which Driver is preferable for using JDBC API in Applets?
What should be done for auto generating primary key id in a table ?
What does setautocommit do?
Stored procedure purpose?
how can we get the metaData (columnNames) from a table which has no Records..
Where is ojdbc14 jar located?
Which jdbc driver type s is are the jdbc odbc bridge?
What are types of jdbc drivers?
What is connection commit?
Explain what should be done when a SQL exception is raised?