jdbc sqlserver oracle Çý¶¯ÎÊÌ⼯½õ
ojdbc14.jarÓëclasses12.jarÓÐʲôÇø±ð??
×î½üÓÃclasses12.jar£¬hibernate3.1ÀÏÊdzöÎÊÌ⣿
ÎÒµÄoracle9.2.0.10!
ÔÚÍøÉÏÕÒ£¬·¢ÏÖÓÐÈËÓÃojdbc14.jar¿ª·¢£¬Ã»ÓÐÓùýÄØ£¿¿´oracleµÄreadme.txtҲûÓп´Ê²Ã´ÄØ£¿
ÄÇλ´ó¸çÖªµÀ˵һÏ£¡Ê®·Ö¸Ðл£¡
--------------------------------------------------------------------------------
´ð:>´Óoracle9.2Ö®ºó£¬¶ÔjdbcµÄÇý¶¯³ÌÐòµÄÃüÃû½«ÓÐËù¸Ä±ä£¬JDK1.1£¬JDK1.2µÄÇý¶¯³ÌÐòÃû(class12.jar)½«²»Ôٸı䣬һֱÑØÓÃÏÂÈ¥£¬´ÓJDK1.4¿ªÊ¼Çý¶¯³ÌÐòÃû½«ËùÓиıä,ÀýÈ磺JDK1.4µÄÇý¶¯ÃûΪojdbc14.jar¡£JDK1.5µÄÇý¶¯ÃûΪojdbc15.jar¡£
ojdbc14.jar
ojdbc14.jar (1.5 MB)
ÃèÊö: Oracle JDBC driver 10.2.0.1.0
ÏÂÔØ´ÎÊý: 883
ojdbc14.jar (1.5 MB)
ÃèÊö: Oracle JDBC driver 10.2.0.2.0
ÏÂÔØ´ÎÊý: 534
sqljdbc.jar ºÍ sqljdbc4.jar
2010-01-05 11:09
ΪÁËÖ§³ÖÏòºó¼æÈÝÒÔ¼°¿ÉÄܵÄÉý¼¶·½°¸£¬JDBC Driver 2.0 ÔÚÿ¸ö°²×°°üÖж¼°üÀ¨ 2 ¸ö JAR Àà¿â£ºsqljdbc.jar ºÍ sqljdbc4.jar¡£
JAR˵Ã÷
sqljdbc.jar
sqljdbc.jar Àà¿âÌṩ¶Ô JDBC 3.0 µÄÖ§³Ö¡£
sqljdbc.jar Àà¿âÒªÇóʹÓà 5.0 °æµÄ Java ÔËÐÐʱ»·¾³ (JRE)¡£Á¬½Óµ½Êý¾Ý¿âʱ£¬ÔÚ JRE 6.0 ÉÏʹÓà sqljdbc.jar »áÒý·¢Òì³£¡£
×¢Ò⣺ JDBC Driver 2.0 ²»Ö§³Ö JRE 1.4¡£Ê¹Óà JDBC Driver 2.0 ʱ±ØÐ뽫 JRE 1.4 Éý¼¶ÖÁ JRE 5.0 »ò¸ü¸ß°æ±¾¡£ÔÚijЩÇé¿öÏ£¬Äú¿ÉÄÜÐèÒªÖØбàÒëÓ¦ÓóÌÐò£¬ÒòΪËü¿ÉÄÜÓë JDK 5.0 »ò¸ü¸ß°æ±¾²»¼æÈÝ¡£ÓйØÏêϸÐÅÏ¢£¬Çë²ÎÔÄ Sun Microsystems ÍøÕ¾ÉϵÄÎĵµ¡£
sqljdbc4.jar
sqljdbc4.jar Àà¿âÌṩ¶Ô JDBC 4.0 µÄÖ§³Ö¡£Ëü²»½ö°üÀ¨ sqljdbc.jar µÄËùÓй¦ÄÜ£¬»¹°üÀ¨ÐÂÔöµÄ JDBC 4.0 ·½·¨¡£
sqljdbc4.jar Àà¿âÒªÇóʹÓà 6.0 »ò¸ü¸ß°æ±¾µÄ Java ÔËÐÐʱ»·¾³ (JRE)¡£ÔÚ JRE 1.4 »ò 5.0 ÉÏʹÓà sqljdbc4.jar »áÒý·¢Òì³£¡£
×¢Ò⣺ Èç¹ûÓ¦ÓóÌÐò±ØÐëÔÚ JRE 6.0 ÉÏÔËÐУ¬¼´Ê¹¸ÃÓ¦ÓóÌÐò²»Ê¹Óà JDBC 4.0 ¹¦ÄÜ£¬Ò²Ó¦Ê¹Óà sqljdbc4.jar¡£
Çë×¢Ò⣬¾¡¹ÜÇý¶¯³ÌÐòÖ¼ÔÚÓëËùÓÐÖ÷ÒªµÄ Sun µÈЧ Java ÐéÄâ»úÒ»Æð¹¤×÷²¢ÓÉÕâЩÐéÄâ»úÖ§³Ö£¬µ«È´ÊÇÔÚ Sun JRE 5.0 »ò¸ü¸ß°æ±¾ÉϽøÐвâÊԵġ£
×¢Ò⣺JRE6µÄҪѡÔñsqljdbc4.jar
url£ºhttp://msdn.microsoft.com/zh-cn/library/ms378526.aspx
ʹÓà JDBC Driver
±¾²¿·ÖÌṩʹÓà Microsoft SQL Server JDBC Driver Óë SQL Server Êý¾Ý¿â½¨Á¢¼òµ¥Á¬½ÓµÄ¿ìËÙÈëÃÅÖ¸µ¼¡£ÔÚÁ¬½Óµ½ SQL Server Êý¾Ý¿â֮ǰ£¬±ØÐëÊ
Ïà¹ØÎĵµ£º
OracleÊý¾Ý¿âÓÐÁ½À౸·Ý·½·¨¡£µÚÒ»ÀàΪÎïÀí±¸·Ý£¬¸Ã·½·¨ÊµÏÖÊý¾Ý¿âµÄÍêÕû»Ö¸´£¬µ«Êý¾Ý¿â±ØÐëÔËÐÐÔڹ鵲ģʽÏ£¨ÒµÎñÊý¾Ý¿âÔڷǹ鵲ģʽÏÂÔËÐУ©£¬ÇÒÐèÒª¼«´óµÄÍⲿ´æ´¢É豸£¬ÀýÈç´Å´ø¿â£»µÚ¶þÀ౸·Ý·½Ê½ÎªÂß¼±¸·Ý£¬ÒµÎñÊý¾Ý¿â²ÉÓôËÖÖ·½Ê½£¬´Ë·½·¨²»ÐèÒªÊý¾Ý¿âÔËÐÐÔڹ鵲ģʽÏ£¬²»µ«±¸·Ý¼òµ¥£¬¶øÇÒ¿ÉÒÔ²»ÐèÒªÍⲿ´æ´¢É豸 ......
1. °²×°Ç°µÄϵͳÅäÖÃ
1.1. ÅäÖÃϵͳsystemÎļþ
ʹÓÃrootÓû§µÇ½Ö÷»ú£¬ÐÞ¸Ä/etc/systemÎļþ£¬Ìí¼ÓÈçÏÂ×ֶΣº
set noexec_user_stack=1
set semsys:seminfo_semmni = 100
set semsys:seminfo_semmns = 1024
set semsys:seminfo_semmsl = 256
set semsys:seminfo_semvmx = 32767
set shmsys ......
DECODEº¯ÊýÊÇORACLE PL/SQLÊǹ¦ÄÜÇ¿´óµÄº¯ÊýÖ®Ò»£¬Ä¿Ç°»¹Ö»ÓÐORACLE¹«Ë¾µÄSQLÌṩÁ˴˺¯Êý£¬ÆäËûÊý¾Ý¿â³§É̵ÄSQLʵÏÖ»¹Ã»Óд˹¦ÄÜ¡£DECODEÓÐʲôÓÃ;ÄØ£¿Ïȹ¹ÔìÒ»¸öÀý×Ó£¬¼ÙÉèÎÒÃÇÏë¸øÖÇÐÇÖ°Ô±¼Ó¹¤×Ê£¬Æä±ê×¼ÊÇ£º¹¤×ÊÔÚ8000ÔªÒÔϵĽ«¼Ó20£¥£»¹¤×ÊÔÚ8000ÔªÒÔÉϵļÓ15£¥£¬Í¨³£µÄ×ö·¨ÊÇ£¬ÏÈÑ¡³ö¼Ç¼ÖеŤ×Ê×Ö¶ÎÖµ? select sa ......
ÔÚoracleÖе±ÎÒÃÇн¨Á˶à¸öÊý¾Ý¿âºó£¬ÔٴεǼʱ£¬ÏµÍ³Ä¬ÈϵÄÊÇ×îºó´´½¨µÄÄǸöÊý¾Ý¿â¡£
ÈçºÎÉèÖÃÎÒÃÇ×Ô¼ºÏëÒªµÄĬÈÏÊý¾Ý¿âÄØ£¿
·½·¨ºÜ¼òµ¥£¬ÎÒÃÇÖ»ÐèÔÚÔËÐд°¿ÚÀïÊäÈëregedit£¬¼´¿É½øÈë×¢²á±í±à¼Æ÷£¬ÔÚHKEY_LOCAL_MACHI ......
½ñÈÕsqlserver2000µÄ·þÎñÆô¶¯²»ÁË£¬¿´ÁËһϴíÎóÈÕÖ¾“SQL Server evaluation period has expired.”
´ÓÍøÉÏÕÒÁËÕÒ£¬ÖØа²×°sqlserver2000¼´¿É£¬ÖØװʱ¿ÉÄÜ»áÓöµ½“ÒÔÇ°µÄij¸ö³ÌÐò°²×°ÒÑÔÚ°²×°¼ÆËã»úÉÏ´´½¨¹ÒÆðµÄÎļþ²Ù×÷¡£ÔËÐа²×°³ÌÐò֮ǰ±ØÐëÖØÐÂÆô¶¯¼ÆËã»ú”´íÎ󣬿ɲ鿴±¾ÈËǰһƪÎÄÕ½â¾ö ......