oracle¿Í»§¶ËplsqlÉèÖÃ(win7)
oracle¿Í»§¶ËplsqlÉèÖÃ(windows7) ÔÚwindows7°²×°plsqlÒÔ·ÃÎÊ·þÎñÆ÷ÉϵÄoracleÊý¾Ý¿â
1. ÔÚ¹ÙÍøÏÂÔØoracle database 10g client£¬°²×°Ê±Ñ¡Ôñinstant client£¬°´Ä¬ÈÏÉèÖð²×°
2. °²×°»òʹÓÃÂÌÉ«°æµÄplsql
3. ÔÚplsqlĿ¼ÏÂÕÒµ½(»òн¨)Îļþtnsnames.ora£¬¿ÉÖظ´Ìí¼ÓÈçÏ¶Σº
MYNAME =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = oradb)
)
)
ÆäÖÐMYNAMEËæÒâÉèÖã¬HOSTÌîд·þÎñÆ÷Ö÷»úIPµØÖ·£¬POSTʹÓÃĬÈϵÄ1521£¬SERVICE_NAMEÌîдĿ±êÊý¾Ý¿âµÄÍøÂç·þÎñÃû¡£
×¢£ºÈô°²×°oracleÖ®ºó£¬ÔÚ{ORACLE_HOME}/NETWORK/ADMIN/ÏÂÓÐÈý¸öÅäÖÃÎļþ£ºsqlnet.ora, tnsnames.ora, listener.ora
4. ÔÚÎҵĵçÄÔÉÏÓÒ¼üÊôÐÔ--¸ß¼¶ÏµÍ³ÉèÖÃ--¸ß¼¶--»·¾³±äÁ¿£¬Ð½¨Óû§±äÁ¿£º
±äÁ¿Ãû£ºNLS_LANG
±äÁ¿Öµ£ºAMERICAN_AMERICA.UTF8
ÒÔ½â¾öÊý¾Ý¿â±íÖеÄÖÐÎÄÂÒÂëÎÊÌâ¡£
Ïà¹ØÎĵµ£º
ʲôÊǺϲ¢¶àÐÐ×Ö·û´®£¨Á¬½Ó×Ö·û´®£©ÄØ£¬ÀýÈ磺
SQL> desc test;
Name Type Nullable Default Comments
------- ------------ -------- ------- --------
COUNTRY VARCHAR2(20) Y &nb ......
ÀûÓÃoracleÉó¼Æ¹¦ÄÜÀ´¼à²âÊÔ»·¾³µÄ±ä»¯
×ö¹ý²âÊÔµÄÈ˶¼Ó¦¸Ã»áÅöµ½ÕâÑùµÄÇé¿ö£º²âÊÔ·¢ÏÖµÄbugÔÚ¿ª·¢»úÆ÷ÉÏûÓгöÏÖ£¬ÏÔÈ»ÕâÊÇ»·¾³²îÒìµÄÔÒò¡£Ï൱¶àÇé¿öÏ£¬ÒòΪ²âÊÔʹÓõÄÊý¾Ý¿â½á¹¹ºÍ¿ª·¢Ê¹ÓõÄÊý¾Ý¿â½á¹¹²»Ò»ÖÂÔì³ÉµÄ¡£ÓÈÆäÊÇһЩ¹«Ë¾ÔÚÌá½»²âÊÔ°æ±¾µÄʱºò£¬×¢ÖØÓ¦Óà ......
sqlldrÏê½â
Oracle µÄSQL*LOADER¿ÉÒÔ½«ÍⲿÊý¾Ý¼ÓÔص½Êý¾Ý¿â±íÖС£ÏÂÃæÊÇSQL*LOADERµÄ»ù±¾Ìص㣺
1£©ÄÜ×°È벻ͬÊý¾ÝÀàÐÍÎļþ¼°¶à¸öÊý¾ÝÎļþµÄÊý¾Ý
2£©¿É×°Èë¹Ì¶¨¸ñʽ£¬×ÔÓɶ¨½çÒÔ¼°¿É¶È³¤¸ñʽµÄÊý¾Ý
3£©¿ÉÒÔ×°Èë¶þ½øÖÆ£¬Ñ¹ËõÊ®½øÖÆÊý¾Ý
4£©Ò»´Î¿É¶Ô¶à¸ö±í×°ÈëÊý¾Ý
5£©Á¬½Ó¶à¸öÎïÀí¼Ç¼װµ½Ò»¸ö¼Ç¼ÖÐ
6£©¶ÔÒ ......
hibernate×÷Ϊһ¸öÓÅÐãµÄOR£Mapping¹¹¼Ü£¬¶ÔÊý¾Ý¿âµÄ»ù±¾²Ù×÷½øÐÐÁ˱ȽϺõķâ×°£¬Õë¶ÔBlobÀàÐÍ×ֶεIJÙ×÷Ò²²»ÀýÍâ¡£µ«ÍøÉϴ󲿷ÖÄÜÕÒµ½µÄhibernate²Ù×÷BlobµÄÀý³Ì¶¼ÊÇ»ùÓÚhibernate2°æ±¾µÄ£¬Í¬Ê±ÔÚʵ¼Ê²Ù×÷ÖÐÎÒ·¢ÏÖÕë¶Ô²»Í¬µÄÊý¾Ý¿â£¬¿ÉÒÔÓв»Í¬µÄ²Ù×÷·½·¨¡£ÏÂÃ潫hibernate3²Ù×÷oracleµÄBlob×ֶνøÐÐÒ»¸ö½éÉÜ¡£
......