System.err.println(nick + " (" + pass + ")");
	protected UserDBJDBC() 	throws NamingException, SQLException, IOException {		super();System.out.println("UserDBJDBC.<init> starting...");/*System.out.println("Getting InitialContext");		Context ctx = new InitialContext();System.out.println("Getting JNDI Context");		Context env = (Context)ctx.lookup("java:comp/env");System.out.println("Getting DataSource");		DataSource ds = (DataSource)env.lookup("jdbc/jabadotDB");System.out.println("Getting Connection");		Connection conn = ds.getConnection();System.out.println("Connection = " + conn);*/System.out.println("Loading Driver Class");try {	Class.forName("org.hsqldb.jdbcDriver");} catch (ClassNotFoundException ex) {	System.out.println("FAILED: " + ex.toString());	throw new IllegalStateException(ex.toString());}System.out.println("Getting Connection");	Connection conn = DriverManager.getConnection(		"jdbc:hsqldb:/home/ian/src/jabadot/WEB-INF/jabadot",		"jabadmin", "fredonia");		Statement stmt = conn.createStatement();		ResultSet rs = stmt.executeQuery("select * from users");		while (rs.next()) {			//name:password:fullname:City:Prov:Country:privs			// Get the fields from the query.			// Could be an Entity EJB with CMP: this is unnecessarily 			// chummy with the SQL. See CreateUserDatabase.java for field#'s!			int i = 1;			String nick = rs.getString(i++).trim();			String pass = rs.getString(i++).trim();System.err.println(nick + " (" + pass + ")");			String first = rs.getString(i++);			String last = rs.getString(i++);			String email = rs.getString(i++);			String city = rs.getString(i++);			String prov = rs.getString(i++);			String ctry = rs.getString(i++);			java.sql.Date credt = rs.getDate(i++);			java.sql.Date lastlog = rs.getDate(i++);			String skin = rs.getString(i++);			boolean editPrivs = rs.getBoolean(i++);			boolean adminPrivs = rs.getBoolean(i++);			// Construct a user object from the fieldsSystem.out.println("Constructing User object");			User u = new User(nick, pass, first, last, email,				prov, ctry, credt, lastlog,				skin, editPrivs, adminPrivs);System.out.println("Adding User object " + u + " to " + users);			// Add it to the in-memory copy.			users.add(u);System.err.println("User " + nick + "; pass " + pass.charAt(0));		}		rs.close();		// All done with that resultset		stmt.close();		// Set up the PreparedStatements now so we don't have to		// re-create them each time needed.		addUserStmt = conn.prepareStatement(SQL_INSERT_USER);		setPasswordStatement = conn.prepareStatement(			"update users SET password = ? where name = ?");		setLastLoginStmt = conn.prepareStatement(			"update users SET lastLogin = ? where name = ?");		deleteUserStmt = conn.prepareStatement(			"delete from users where name = ?");	}