public Database(){
	    try {
	    	InputStream in=getClass().getResourceAsStream(propFileName);
	    	prop.load(in);
	    	databaseInitFilePath = prop.getProperty("databaseInitFilePath");
	        in=getClass().getResourceAsStream(databaseInitFilePath);
	        prop.load(in);									          //ͨPropertiesļ
	        dbClassName = prop.getProperty("DB_CLASS_NAME");          //ȡݿ
	        dbUrl = prop.getProperty("DB_URL",dbUrl);
	        System.out.println("......................."+dbUrl);
	        dbUser=prop.getProperty("DB_USER",dbUser);
	        dbPwd=prop.getProperty("DB_PWD",dbPwd);
	        System.out.println("һݿ");
	    	}catch (Exception e) {System.err.println(e.getMessage());}//쳣Ϣ
	    	
	    try {
	      Class.forName(dbClassName).newInstance();
	      System.out.println("ݿ"+dbClassName+"ɹ");
	    }
	    catch (Exception e) {
	    	System.out.println("ݿ"+dbClassName+"ʧܣ");
	    	System.err.println(e.getMessage());
	    }
	    
	    
	    try {
	       conn = DriverManager.getConnection(dbUrl, dbUser, dbPwd);
	       System.out.println("ɹһݿ");
	      }
	      catch (Exception e) {
	    	  System.out.println("ݿʧܣ");
	    	  System.err.println(e.getMessage());
	      }
	    
	    if (conn == null) {
	      System.err.println(
	          ": DbConnectionManager.getConnection() ݿʧ.\r\n\r\n:" +
	          dbClassName + "\r\nλ:" + dbUrl + "\r\nû/" + dbUser + "/" +
	          dbPwd);
	    }
	  }