Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def url = "jdbc:h2:mem:/12345"
- def query = "CREATE SCHEMA TEST_SHEMA"
- def sql = Sql.newInstance(url, "sa", "")
- sql.execute(query)
- // RunScript.execute(url, "sa", "", "classpath:shutdown.sql", Charset.forName("utf-8"), false);
- sql = Sql.newInstance(url, "sa", "")
- sql.execute(query)
- //shutdown.sql DROP ALL OBJECTS DELETE FILES;
Advertisement
Add Comment
Please, Sign In to add comment