示例#1
0
 private void StartHsqldbServer()
 {
     server = new Org.Hsqldb.Server.Server();
     server.SetDatabasePath(0, Runtime.GetProperty("test.build.data", "/tmp") + "/URLAccess"
                            );
     server.SetDatabaseName(0, "URLAccess");
     server.Start();
 }
示例#2
0
 private void StartHsqldbServer()
 {
     if (null == server)
     {
         server = new Org.Hsqldb.Server.Server();
         server.SetDatabasePath(0, Runtime.GetProperty("test.build.data", "/tmp") + "/" +
                                DbName);
         server.SetDatabaseName(0, DbName);
         server.Start();
     }
 }