org.hibernate.hql.spi
Class AbstractTableBasedBulkIdHandler

java.lang.Object
  extended by org.hibernate.hql.spi.AbstractTableBasedBulkIdHandler
Direct Known Subclasses:
TableBasedDeleteHandlerImpl, TableBasedUpdateHandlerImpl

public class AbstractTableBasedBulkIdHandler
extends Object


Nested Class Summary
protected static class AbstractTableBasedBulkIdHandler.ProcessedWhereClause
           
 
Constructor Summary
AbstractTableBasedBulkIdHandler(SessionFactoryImplementor sessionFactory, HqlSqlWalker walker, String catalog, String schema)
           
 
Method Summary
protected  void addAnyExtraIdSelectValues(SelectValues selectClause)
           
protected  JDBCException convert(SQLException e, String message, String sql)
           
protected  String determineIdTableName(Queryable persister)
           
protected  SessionFactoryImplementor factory()
           
protected  String generateIdInsertSelect(Queryable persister, String tableAlias, AbstractTableBasedBulkIdHandler.ProcessedWhereClause whereClause)
           
protected  String generateIdSubselect(Queryable persister)
           
protected  void prepareForUse(Queryable persister, SessionImplementor session)
           
protected  AbstractTableBasedBulkIdHandler.ProcessedWhereClause processWhereClause(antlr.collections.AST whereClause)
           
protected  void releaseFromUse(Queryable persister, SessionImplementor session)
           
protected  HqlSqlWalker walker()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTableBasedBulkIdHandler

public AbstractTableBasedBulkIdHandler(SessionFactoryImplementor sessionFactory,
                                       HqlSqlWalker walker,
                                       String catalog,
                                       String schema)
Method Detail

factory

protected SessionFactoryImplementor factory()

walker

protected HqlSqlWalker walker()

convert

protected JDBCException convert(SQLException e,
                                String message,
                                String sql)

processWhereClause

protected AbstractTableBasedBulkIdHandler.ProcessedWhereClause processWhereClause(antlr.collections.AST whereClause)

generateIdInsertSelect

protected String generateIdInsertSelect(Queryable persister,
                                        String tableAlias,
                                        AbstractTableBasedBulkIdHandler.ProcessedWhereClause whereClause)

addAnyExtraIdSelectValues

protected void addAnyExtraIdSelectValues(SelectValues selectClause)

determineIdTableName

protected String determineIdTableName(Queryable persister)

generateIdSubselect

protected String generateIdSubselect(Queryable persister)

prepareForUse

protected void prepareForUse(Queryable persister,
                             SessionImplementor session)

releaseFromUse

protected void releaseFromUse(Queryable persister,
                              SessionImplementor session)


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.