public LibraryBean getLibrary(int id){
		LibraryBean bean = null;
		
		try {
			PreparedStatement statement = connection.prepareStatement(GET_LIBRARY_BY_ID);
			statement.setString(1, new Integer(id).toString());			
			ResultSet resultSet = statement.executeQuery();
			
			if(resultSet.next()) bean = readLibrary(resultSet);
			
		} catch (SQLException e) {
			e.printStackTrace();
		} catch (NumberFormatException e) {
			e.printStackTrace();
		}
		return bean;
	}