daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest May 27th, 2018 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. String dbacct, passwrd;
  2.                 dbacct = readEntry("Enter database account: ");
  3.                 passwrd = readEntry("Enter database password: ");
  4.                 try {
  5.                         Connection conn = DriverManager.getConnection
  6.                           ("jdbc:oracle:thin:@127.0.0.1:1521:ite10g",dbacct,passwrd);
  7.                 } catch (SQLException x) {
  8.                         System.out.println("Connection failed: " + x.toString());
  9.                 }
  10.                 System.out.println("Hello World!");
  11.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top