public boolean deleteVisitingHours(int visitingHourId)
	{

			ResultSet rs=null;
			Connection con=null;
			PreparedStatement ps=null;
			boolean result=true;
			try{
				String sql="DELETE FROM OFFICE_HOURS WHERE office_hour_id=(?)";
				con=ConnectionPool.getConnectionFromPool();
				ps=con.prepareStatement(sql);
				ps.setInt(1, visitingHourId);
				ps.executeUpdate();
			}
			catch(Exception ex)
			{
				ex.printStackTrace();
			}
			finally{
				if(rs!=null)
				{
					try {
						rs.close();
					} catch (SQLException e) {
						e.printStackTrace();
					}
				}
				if(ps!=null)
				{
					try {
						ps.close();
					} catch (SQLException e) {
						e.printStackTrace();
					}
				}
				if(con!=null)
				{
					try {
						ConnectionPool.addConnectionBackToPool(con);;
					} catch (Exception e) {
						e.printStackTrace();
					}
				}
			}
			return result;
	}