1 package org.hibernate; 3 4 import org.hibernate.type.Type; 5 6 14 public interface SQLQuery extends Query { 15 18 public SQLQuery addEntity(String entityName); 19 22 public SQLQuery addEntity(String alias, String entityName); 23 26 public SQLQuery addEntity(String alias, String entityName, LockMode lockMode); 27 30 public SQLQuery addEntity(Class entityClass); 31 34 public SQLQuery addEntity(String alias, Class entityClass); 35 38 public SQLQuery addEntity(String alias, Class entityClass, LockMode lockMode); 39 40 43 public SQLQuery addJoin(String alias, String path); 44 47 public SQLQuery addJoin(String alias, String path, LockMode lockMode); 48 49 52 public SQLQuery addScalar(String columnAlias, Type type); 53 54 57 public SQLQuery setResultSetMapping(String name); 58 } 59 | Popular Tags |