0
@ NamedNativeQuery + Spring + Hibernate를 사용하여 여러 결과 집합을 다시 가져올 수 있습니까?@ NamedNativeQuery 여러 결과 집합
@Entity
@NamedNativeQueries({
@NamedNativeQuery(callable = true, name = "QueryName", query = "pStoredProcedureName ?, ?, ?", readOnly = true,
resultClass = DAOClass.class),
을하지만 지금 호출하고 저장 프로 시저가 여러 결과 집합을 가지고 있는데 첫 번째 하나를 얻을 수가 있습니다 : 나는 DAO 객체를 조회 할 HibernateTemplate.findByNamedQuery
을 사용하고
은과 같이 매핑.
감사합니다.
[Hibernate : Multiple Result Sets] 가능한 중복 (http://stackoverflow.com/questions/4831672/hibernate-multiple-result-sets) – javamonkey79