[Áú¹®] PostgreSQL 6.4.2 ´Ù½Ã±ò°í Çصµ ¸¶Âù°¡Áö³×¿ä...


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :¹ÚÁ¾¿± 1999³â 1¿ù 17ÀÏ 01:05:33

In Reply to: Æ÷½ºÆ® ±×·¹½ºÀÇ jdbcµå¶óÀ̹ö posted by ³²Áظð on 1999³â 1¿ù 16ÀÏ 09:26:18:

¸ÕÀú ´äº¯ÇØÁֽŠ³²Áظð´Ô²² °¨»çÇÕ´Ï´Ù...


6.4.2¸¦ ´Ù½Ã±ò°í postgresql.jar ÆÄÀÏÀ» »ý¼º½ÃÄѼ­
Ŭ·¡½ºÆнº¿¡ ¿¬°áÇصµ ¿©ÀüÈ÷ ¾ÈµÇ³×¿ä...


Class.forName(postgresql.Driver);
ÀÌ°Å ¸Â³ª¿ä?


±×¸®±¸¿ä...
Connection con = DriverManager.getConnection(url, "postgres", "postgres¾ÏÈ£");
ÀÌ·¸°Ô ½áÁà¾ß Çϳª¿ä?
À§¿Í°°ÀÌ ÇÏ¸é ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ³ª¿Í¿ä...


testdb.java:15: Undefined variable or class name: postgresql
Class.forName(postgresql.Driver);
^
testdb.java:17: Exception java.lang.ClassNotFoundException is never thrown in the body of the corresponding try statement.
catch java.lang.ClassNotFoundException e) {
^


±×·¡¼­ postgres¿¡ Æ÷ÇÔµÈ ¿¹Á¦Ã³·³
Class.forName("postgresql.Driver");
ÀÌ·¸°Ô ½áÁÖ¸é ÄÄÆÄÀÏ¿¡¼­ ¿¡·¯´Â ¾È³ª°í µÇ´Âµ¥


Class Not Found Exception :
postgresql.Driver
SQL Exception No suitable driver


¿Í °°Àº ExceptionÀÌ ¹ß»ýÇÕ´Ï´Ù...


ÀÌ ¹®Á¦¸¦ ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä?


´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]