diff --git a/pom.xml b/pom.xml index d187728..9fc0988 100644 --- a/pom.xml +++ b/pom.xml @@ -14,13 +14,12 @@ overflow_jpa_member_dao jar 1.0.0-SNAPSHOT - com.loafle.overflow_jpa_member_dao com.loafle overflow_jpa_base_dao - 1.0.0-SNAPSHOT + 1.0.0-RELEASE 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 2156922..182f691 100644 --- a/src/main/java/com/loafle/overflow/member/dao/JPAMemberDAO.java +++ b/src/main/java/com/loafle/overflow/member/dao/JPAMemberDAO.java @@ -10,8 +10,4 @@ import java.util.List; * Created by insanity on 17. 5. 25. */ public class JPAMemberDAO extends JPABaseDAO implements MemberDAO{ - @Override - public List findAllMember() { - return getEntityManager().createQuery("select m from member m").getResultList(); - } } diff --git a/src/main/java/com/loafle/overflow/member/dao/MemberDAO.java b/src/main/java/com/loafle/overflow/member/dao/MemberDAO.java index be3ddc3..cfd1b7f 100644 --- a/src/main/java/com/loafle/overflow/member/dao/MemberDAO.java +++ b/src/main/java/com/loafle/overflow/member/dao/MemberDAO.java @@ -3,11 +3,11 @@ package com.loafle.overflow.member.dao; import com.loafle.overflow.commons.dao.BaseDAO; import com.loafle.overflow.member.model.Member; +import javax.persistence.Inheritance; import java.util.List; /** * Created by insanity on 17. 5. 25. */ public interface MemberDAO extends BaseDAO { - public List findAllMember(); }