| 1 | |
package org.kuali.student.enrollment.lpr.dao; |
| 2 | |
|
| 3 | |
|
| 4 | |
import java.util.List; |
| 5 | |
|
| 6 | |
import org.kuali.student.enrollment.dao.GenericEntityDao; |
| 7 | |
import org.kuali.student.enrollment.lpr.model.LuiPersonRelationEntity; |
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | 0 | public class LprDao extends GenericEntityDao<LuiPersonRelationEntity> { |
| 15 | |
|
| 16 | |
@SuppressWarnings({"unchecked"}) |
| 17 | |
public List<LuiPersonRelationEntity> getByLuiId(String luiId) { |
| 18 | 0 | return (List<LuiPersonRelationEntity>) em.createQuery("from LuiPersonRelationEntity pr where pr.luiId=:luiId").setParameter("luiId", luiId).getResultList(); |
| 19 | |
} |
| 20 | |
} |