Class SqlGeneratorSuffixableImpl

java.lang.Object
org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl
org.kuali.rice.core.framework.persistence.ojb.SqlGeneratorSuffixableImpl
All Implemented Interfaces:
org.apache.ojb.broker.accesslayer.sql.SqlGenerator

@Deprecated public class SqlGeneratorSuffixableImpl extends org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl
Deprecated.
SqlGeneratorDefaultImpl subclass that replaced the vanilla SqlSelectStatement implementation with a new SuffixedSqlSelectStatement that is SuffixableQueryByCriteria - aware. This class needs to be specified as the SqlGenerator implementation in the OJB properties, to replace the SqlGeneratorDefaultImpl. This is a hack to introduce select-for-update functionality into OJB so the same ORM/Criteria abstractions can be retained for select-for-update queries. Select for update appears to have been added in the OJB source repository, so maybe a forthcoming release will include this functionality and these kludges can be removed.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl

    org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.SqlForClass
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqlGeneratorSuffixableImpl(org.apache.ojb.broker.platforms.Platform platform)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.ojb.broker.accesslayer.sql.SelectStatement
    getPreparedSelectStatement(org.apache.ojb.broker.query.Query query, org.apache.ojb.broker.metadata.ClassDescriptor cld)
    Deprecated.
     

    Methods inherited from class org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl

    asSQLClause, asSQLStatement, getDeleteMNStatement, getInsertMNStatement, getPlatform, getPreparedDeleteStatement, getPreparedDeleteStatement, getPreparedExistsStatement, getPreparedInsertStatement, getPreparedSelectByPkStatement, getPreparedUpdateStatement, getSelectMNStatement, getSelectStatementDep, getSqlForClass, newInstanceSqlForClass

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SqlGeneratorSuffixableImpl

      public SqlGeneratorSuffixableImpl(org.apache.ojb.broker.platforms.Platform platform)
      Deprecated.
  • Method Details

    • getPreparedSelectStatement

      public org.apache.ojb.broker.accesslayer.sql.SelectStatement getPreparedSelectStatement(org.apache.ojb.broker.query.Query query, org.apache.ojb.broker.metadata.ClassDescriptor cld)
      Deprecated.
      Specified by:
      getPreparedSelectStatement in interface org.apache.ojb.broker.accesslayer.sql.SqlGenerator
      Overrides:
      getPreparedSelectStatement in class org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl