常用代码块:使用时间生成数据库文件名
Date d = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd-hh-mm-ss");
String fileName= "jdbc:h2:~/"+sdf.format(d);
cp = JdbcConnectionPool.create(fileName, "sa", "sa");
Date d = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd-hh-mm-ss");
String fileName= "jdbc:h2:~/"+sdf.format(d);
cp = JdbcConnectionPool.create(fileName, "sa", "sa");