public List<Employee> getEmployeeDetails(Employee employee){
		connect();
		PreparedStatement pstmt = null;
		ResultSet rs = null;
		List<Employee> employees = new ArrayList<Employee>();
		try {
			pstmt = connection.prepareStatement("SELECT ID,NAME,DESIGNATION,SALARY,DEPARTMENT FROM EMP.EMPLOYEE WHERE ID = ?");
			pstmt.setInt(1, employee.getEmpID());
			rs = pstmt.executeQuery();
			while(rs!=null && rs.next()){
				Employee employee2 = new Employee();
				employee2.setEmpID(rs.getInt(1));
				employee2.setEmpName(rs.getString(2));
				employee2.setDesignation(rs.getString(3));
				employee2.setSalary(rs.getDouble(4));
				employee2.setEmpDept(rs.getString(5));
				LOG.info("\n"+employee2.toString());
				employees.add(employee2);
			}
		} catch (SQLException e) {
			e.printStackTrace();
			LOG.error(e);
		}finally {
			if(pstmt != null) {
				try {
					pstmt.close();
				} catch (SQLException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} 
			}
			if(rs != null) {
					try {
						rs.close();
					} catch (SQLException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
			}
			disconnect();
		}
		return employees; 
	}