Hi,
> Do you know of a test case I can start with? Not really familiar with the
> code, but will put one together if I can find something to start with.
Sure. Best would be a simple, standalone test case that only uses the
JDBC API. Example:
public class Test {
public static void main(String[] args) throws Exception {
Class.forName("org.h2.Driver");
DeleteDbFiles.execute("data", "test", true);
Connection conn;
Statement stat;
ResultSet rs;
conn = DriverManager.getConnection("jdbc:h2:data/test");
stat = conn.createStatement();
stat.execute("create table test(id bigint primary key, name varchar)");
stat.execute("insert into test values(1, 'Hello')");
conn.close();
}
}
Regards,
Thomas
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.