jdbc!
请比较:JDBC/ODBC桥,本地API半JAVA,JDBC-NET纯JAVA,本地协议纯JAVA,四种驱动程序的优劣,各自的实用范围,以及各位同行们最常采用的是那一种? 问题点数:10、回复次数:5Top
1 楼skyyoung(路人甲)回复于 2001-03-19 14:38:00 得分 5
资料:
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.
Top
2 楼coaa(scorpion)回复于 2001-03-19 14:49:00 得分 0
那么大家最常用的是那一种呢?
JDBC/ODBC桥真的不适用于实际开发吗? Top
3 楼skyyoung(路人甲)回复于 2001-03-19 14:56:00 得分 0
of course pure jdbc-net pure javaTop
4 楼backlove(我愿意)回复于 2001-03-19 20:06:00 得分 5
同意楼上的Top
5 楼coaa(scorpion)回复于 2001-03-22 19:02:00 得分 0
派分!Top




