59606162636465
private final SessionHolder session; protected int timeout = 0; public AbstractHibernateSQLQuery(Session session, Configuration conf) { this(new DefaultSessionHolder(session), conf, new DefaultQueryMetadata()); }
273274275276277278279
} protected abstract Q clone(SessionHolder session); public Q clone(Session session) { return this.clone(new DefaultSessionHolder(session)); }
6061626364656667
return new HibernateQuery(session, getTemplates()); } @Override protected HibernateQuery testQuery() { return new HibernateQuery(new DefaultSessionHolder(session), getTemplates(), new DefaultQueryMetadata().noValidate()); }