1 24 25 package org.objectweb.cjdbc.scenario.raidb1; 26 27 import java.sql.Connection ; 28 import java.sql.Statement ; 29 30 import org.objectweb.cjdbc.scenario.templates.Raidb1Template; 31 32 38 public class HypersonicScenario extends Raidb1Template 39 { 40 41 public void testNewHsqldbRelease() throws Exception  42 { 43 Connection con = getCJDBCConnection(); 44 Statement stm = con.createStatement(); 45 stm 47 .executeUpdate("create table test (id int,atime timestamp default current_timestamp)"); 48 int row = stm.executeUpdate("insert into test (id) values (1)"); 49 System.out.println(row); 53 } 54 } 55 | Popular Tags |