资料:
There are four types of JDBC database driver: Driver type code Explanation Comment
1 The JDBC/ODBC bridge driver A piece of native C-code that translates a JDBC call to an ODBC call. Use this driver for development, not for industrial-strength application environments. Note that you have to have an ODBC database driver manager + an ODBC database driver installed on the server in addition to the JDBC/ODBC bridge.
2 Native API partly java driver A piece of native C-code that translates a java JDBC call to a native database call level API. Use this driver for development and deployment. Due to its native code, this driver can only be used by Java Applications with full computer access (i.e. not Applets).
3 JDBC-Net pure Java driver A piece of pure java code that translates an incoming JDBC call to an outgoing database Net protocol call (such as SQL*Net). Use this driverfor development and deployment. Flexible and powerful, this driver can be used by any Java component and requires only connect access to work.
4 Native protocol pure Java driver A piece of pure java code that translates an incoming JDBC call to an outgoing database native protocol call (such as Oracle CLI). Use this driver for development and deployment. This driver type is the recommended one for server-side java development unless a type 2 driver has considerable performance advantages.
There are four types of JDBC database driver: Driver type code Explanation Comment
1 The JDBC/ODBC bridge driver A piece of native C-code that translates a JDBC call to an ODBC call. Use this driver for development, not for industrial-strength application environments. Note that you have to have an ODBC database driver manager + an ODBC database driver installed on the server in addition to the JDBC/ODBC bridge.
2 Native API partly java driver A piece of native C-code that translates a java JDBC call to a native database call level API. Use this driver for development and deployment. Due to its native code, this driver can only be used by Java Applications with full computer access (i.e. not Applets).
3 JDBC-Net pure Java driver A piece of pure java code that translates an incoming JDBC call to an outgoing database Net protocol call (such as SQL*Net). Use this driverfor development and deployment. Flexible and powerful, this driver can be used by any Java component and requires only connect access to work.
4 Native protocol pure Java driver A piece of pure java code that translates an incoming JDBC call to an outgoing database native protocol call (such as Oracle CLI). Use this driver for development and deployment. This driver type is the recommended one for server-side java development unless a type 2 driver has considerable performance advantages.
解决方案 »
- hibernate多数据源+ehcache二级缓存导致id冲突的问题求助!
- 关于web service自定义格式
- 四个月学JAVA够了吗?(能够找到工作的程度)
- 连接池问题,我要疯了,救救我吧!
- 大家帮帮我!
- 我在websphere下面配置一个filter,可是老是提示web.xml文件格式不正确,能给我例子吗?[email protected]
- 读取文件行数
- tomcat4.0+apache2.0.40在WINDOWS下的配置。急!!我给分!!我在线等!!!
- web logic的j2ee问题,急!
- 上传图片验证,360,谷歌,火狐,通过验证,IE8不通过验证,求解决
- JDBC-NET纯JAVA.
- 得分套餐(40分):9。这个程序错在哪,答对分必给!!!
JDBC/ODBC桥真的不适用于实际开发吗?