Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ORLogger.getLogger().log(Level.INFO, "Trying to connect databse . . .");
- Class.forName("org.hsqldb.jdbc.JDBCDriver").newInstance();
- ORLogger.getLogger().log(Level.INFO, "HSQL driver loaded . . .");
- dbConnection = DriverManager.getConnection("jdbc:hsqldb:file:db/db", "username", "password");
- ORLogger.getLogger().log(Level.INFO, "Connected to databse.");
- HSQL driver loaded . . .
- dbConnection = DriverManager.getConnection("jdbc:hsqldb:file:db/db", "username", "password");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement