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
ConstructorsConstructorDescriptionSqlGeneratorSuffixableImpl(org.apache.ojb.broker.platforms.Platform platform) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ojb.broker.accesslayer.sql.SelectStatementgetPreparedSelectStatement(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
-
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:
getPreparedSelectStatementin interfaceorg.apache.ojb.broker.accesslayer.sql.SqlGenerator- Overrides:
getPreparedSelectStatementin classorg.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl
-