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 |
What is Apache DBCP API?
What is jdbc odbc bridge in java?
What is a jdbc connection pool?
MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: <identifier> expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......
What are the common jdbc exceptions?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
Is jdbc object oriented?
Does jdbctemplate close connection?
what is metadata and it's use?
What are the steps to connect to the database in java?
What does it mean to "materialize" data?
What is the difference between Minus, and Intersect?