What is Type-1 Driver and when this driver is used?
Answers were Sorted based on User's Feedback
Answer / guest
TYpe -1 Driver is JDBC-ODBC Bridge Driver.
odbc can't be used directly with jdbc,because it uses a c
interface.Moreover odbc make use of pointers which are
totally removed from java.The jdbc-odbc bridge driver
delegates the calls to the datasource.The standard jdk
includes the classes for bridge driver and there is no need
to install any additional classes.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / swetha
jdbc-odbc bridge is called as the type1 driver.It is used
for translates the jdbc call to the odbc call and sends
them to odbc.It allows many different databases.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / chandrarekha
JDBC-ODBC driver is called the type 1 driver..it used for
standalone applications only...it is the default driver
therefore not necessary to install the driver like type
2,3,4....and it's not useful for applications over network
and over web...the driver converts the statements/JDBC
calls into opendatabase connectivity calls based on which
the data is retrived from the database
| Is This Answer Correct ? | 2 Yes | 4 No |
Result set’s index starts with 0 or 1?
Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how come we are creating objects and calling methods("preparestatement()") in it. In which class this method is defined. Please let me know. Thanks in advance. example: PreparedStatement pre = con.prepareStatement( "UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");
What port does jdbc use?
How does a custom RowSetReader get called from a CachedRowSet?
What is jdbc and odbc in java?
what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?
What is com mysql jdbc driver?
Expalin the method of calling a stored procedure from jdbc.
How a database driver can be loaded with jdbc 4.0 / java 6?
What is the use of getGeneratedKeys() method in Statement?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
What are the benefits of PreparedStatement over Statement?