public LoginInfo Get_DataObj(String loginId) {
		// TODO Auto-generated method stub    	
		LoginInfo loginInfo = null;
		
		String sql = "select * from user WHERE `ID`=?";
       	try {
       		con = getConnection();
        	pstmt = con.prepareStatement(sql);
        	
        	pstmt.setString(1, loginId);
        	
			rs = pstmt.executeQuery();
			
			while (rs.next()) {
				loginInfo = new LoginInfo();
				loginInfo.setId( rs.getString("ID"));
				loginInfo.setPw( rs.getString("PW"));
            }

		} catch (SQLException e) {
			e.printStackTrace();
		} finally {
            try {
                if (rs != null)
                    rs.close();
                if (pstmt != null)
                    pstmt.close();
                if (con != null)
                    con.close();
            } catch (SQLException e) {
               e.printStackTrace();

            } catch (Exception e) {
                e.printStackTrace();
            }
        }
 	
		return loginInfo;
	}