1.0.0-RELEASE
This commit is contained in:
parent
4277c8e66a
commit
3026327557
3
pom.xml
3
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user