Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
import java.sql.*; class dbAccessThin { Connection conn = DriverManager.getConnection Statement stmt = conn.createStatement(); Hope this small code helps you to establish the connection.In order to get the connection these two lines of codes are enough... DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver()); Moreover before posting a question to any forum please do your home work and search the web.... Don't be lazy :-) STFW STFW STFW STFW STFW Don't ask me what is STFW :-) Replies: |
Sponsored Links
|