diff --git a/pom.xml b/pom.xml
index 9fc0988..a3c8278 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
com.loafle
overflow_jpa_base_dao
- 1.0.0-RELEASE
+ 1.0.0-SNAPSHOT
diff --git a/src/main/java/com/loafle/overflow/member/dao/JPAMemberDAO.java b/src/main/java/com/loafle/overflow/member/dao/JPAMemberDAO.java
index fb8e7db..9418773 100644
--- a/src/main/java/com/loafle/overflow/member/dao/JPAMemberDAO.java
+++ b/src/main/java/com/loafle/overflow/member/dao/JPAMemberDAO.java
@@ -14,6 +14,13 @@ public class JPAMemberDAO extends JPABaseDAO implements MemberDAO{
Query query = getEntityManager().createNativeQuery("SELECT m.* FROM MEMBER m WHERE m.email = :email", Member.class);
query.setParameter("email", member.getEmail());
- return (Member)query.getSingleResult();
+ Member retMember = null;
+ try {
+ retMember = (Member)query.getSingleResult();
+ }catch(Exception e) {
+ e.printStackTrace();
+ }finally {
+ return retMember;
+ }
}
}