Using JDBC, I can use a String to create the schema of a table:
String sql = "CREATE TABLE REGISTRATION " + "(id INTEGER not NULL, " + " first VARCHAR(255), " + " last VARCHAR(255), " + " age INTEGER, " + " PRIMARY KEY ( id ))"; stmt = conn.createStatement(); stmt.executeUpdate(sql);
I want to similarly use a string to create a table BUT with ObjectDB as my database. Can I pair JDBC with ObjectDB to accomplish this? Better yet, can I accomplish this using JPA or JDO with ObjectDB?