1.0.0-RELEASE

This commit is contained in:
insanity 2017-05-25 20:21:42 +09:00
parent 4277c8e66a
commit 3026327557
3 changed files with 2 additions and 7 deletions

View File

@ -14,13 +14,12 @@
<artifactId>overflow_jpa_member_dao</artifactId>
<packaging>jar</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>com.loafle.overflow_jpa_member_dao</name>
<dependencies>
<dependency>
<groupId>com.loafle</groupId>
<artifactId>overflow_jpa_base_dao</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-RELEASE</version>
</dependency>
<dependency>

View File

@ -10,8 +10,4 @@ import java.util.List;
* Created by insanity on 17. 5. 25.
*/
public class JPAMemberDAO extends JPABaseDAO<Member> implements MemberDAO{
@Override
public List<Member> findAllMember() {
return getEntityManager().createQuery("select m from member m").getResultList();
}
}

View File

@ -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<Member> {
public List<Member> findAllMember();
}