1 package org.hibernate.loader.custom; 3 4 import java.util.Map ; 5 6 import org.hibernate.LockMode; 7 8 17 public class SQLQueryCollectionReturn extends SQLQueryReturn { 18 private String ownerEntityName; 19 private String ownerProperty; 20 21 public SQLQueryCollectionReturn(String alias, String ownerClass, String ownerProperty, Map propertyResults, LockMode lockMode) { 22 super(alias, propertyResults, lockMode); 23 this.ownerEntityName = ownerClass; 24 this.ownerProperty = ownerProperty; 25 } 26 27 32 public String getOwnerEntityName() { 33 return ownerEntityName; 34 } 35 36 41 public String getOwnerProperty() { 42 return ownerProperty; 43 } 44 } 45 | Popular Tags |