public boolean receiveBook(IssueBookVO issueBookVO)
			throws LibraryManagementException {
		ConnectionFactory connectionFactory = new ConnectionFactory();
		Connection connection;
		try {
			connection = connectionFactory.getConnection();
		} catch (LibraryManagementException e) {
			throw e;
		}

		PreparedStatement preparedStatement = null;
		int checkInsertData = 0;
		try {
			if (issueBookVO != null) {
				preparedStatement = connection
						.prepareStatement("update ISSUE_BOOK set RECEIVE_DATE = ?"
								+ " where STUDENT_ID = ? and BOOK_ID = ?;");
				preparedStatement.setDate(1, new Date(issueBookVO
						.getReceiveDate().getTime()));
				preparedStatement.setString(2, issueBookVO.getStudentID());
				preparedStatement.setString(3, issueBookVO.getBookID());
				checkInsertData = preparedStatement.executeUpdate();
			}
		} catch (SQLException e) {
			throw new LibraryManagementException(ExceptionCategory.SYSTEM);
		} finally {
			if (preparedStatement != null) {
				try {
					preparedStatement.close();
				} catch (SQLException e) {
					throw new LibraryManagementException(
							ExceptionCategory.SYSTEM);
				}
			}
			connectionFactory.closeConnection(connection);
		}

		if (checkInsertData == 0) {
			return false; // no update
		} else {
			return true;
		}
	}