public ResultSet selectAll()
    {
    	ResultSet results=null;
    	if(conn!=null){
	        try
	        {
	            stmt = conn.createStatement();
	            results = stmt.executeQuery("select * from " + table_name);
	            results.close();
	            stmt.close();
	        }
	        catch (SQLException sqlExcept)
	        {
	            sqlExcept.printStackTrace();
	        }
    	}
        return results;
    }