Re: [h2] How to create table programming in version 2 ?

2022-06-05 Thread Noel Grandin
You're using purely internal functions, which is always going to be problematic, because then you're never sure if you have obeyed all the invariants which the code needs. Why not just call "CREATE TABLE" using the normal JDBC API? -- You received this message because you are subscribed to the

[h2] How to create table programming in version 2 ?

2022-06-05 Thread Van Bruce
hi, I have a requirement for code to create tables dynamically, the code works fine in H2 version 1.x final Session session = connection.getSession(); final Database database = session.getDatabase(); final Schema schema = database.getSchema(session.getCurrentSchemaName()); final CreateTableData