这是hypsonic数据库,要到http://sourceforge.net/project/showfiles.php?group_id=23316&release_id=35298

解决方案 »

  1.   

    这种数据库就是一jar包,不用安装
      

  2.   

    谢谢
    这个包我已经下载,上面的程序已经没有错误了,但是我 Statement comm=null;
     ResultSet rs=null;
     String QueryString="select username from userreg_table";
    try{
    String dbName ="java:comp/env/jdbc/pepweb";
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource)ic.lookup(dbName);
    Connection con =  ds.getConnection();
     comm=con.createStatement();
     rs=comm.executeQuery(QueryString);
     while (rs.next())
     {
         out.println(rs.getString("username")); 
      }
      con.close();
    }catch(Exception e){out.println(e);}
    它时出现java.sql.SQLException: Table not found: USERREG_TABLE in statement [select username from userreg_table] 
    我的库里有这个表,而且我用JSP直接连库时能读出来?
    是不是这个池没有建立起来呢?