Skip to content

Instantly share code, notes, and snippets.

@bhenry
Created October 18, 2011 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhenry/777d5bbe558a77fef033 to your computer and use it in GitHub Desktop.
Save bhenry/777d5bbe558a77fef033 to your computer and use it in GitHub Desktop.
private void databaseInit() throws Exception{
Class.forName("com.extendedsystems.jdbc.advantage.ADSDriver");
conn = DriverManager.getConnection("jdbc:extendedsystems:" +
"advantage://server:6262/share/adsbook/" +
"demodictionary.add;user=adsuser;password=password");
stmt = conn.createStatement();
prepStmt = conn.prepareStatement( "SELECT * FROM INVOICE "+
"WHERE [customer id] = ?" );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment