From 30263275578fb8bbe8f44a04b5d35a6ebe84ec8a Mon Sep 17 00:00:00 2001 From: insanity Date: Thu, 25 May 2017 20:21:42 +0900 Subject: [PATCH] 1.0.0-RELEASE --- pom.xml | 3 +-- .../java/com/loafle/overflow/member/dao/JPAMemberDAO.java | 4 ---- src/main/java/com/loafle/overflow/member/dao/MemberDAO.java | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) 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(); }