java h2 database example Example: connecting to h2 database from java Connection conn = DriverManager.getConnection ("jdbc:h2:~/test", "sa","");