Class ProgressFactory
java.lang.Object
org.castor.cpa.persistence.sql.driver.BaseFactory
org.castor.cpa.persistence.sql.driver.GenericFactory
org.castor.cpa.persistence.sql.driver.ProgressFactory
- All Implemented Interfaces:
PersistenceFactory
PersistenceFactory
for Progress RDBMS.- Version:
- $Revision: 5951 $ $Date: 2006-02-21 16:05:42 -0700 (Tue, 21 Feb 2006) $
- Author:
- Werner Guttmann
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Internal name of this PersistenceFactory instance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of this factory.Returns a new empty query expression suitable for the underlying SQL engine.Returns the quoted identifier suitable for preventing conflicts between database identifiers and reserved keywords.Methods inherited from class org.castor.cpa.persistence.sql.driver.GenericFactory
doubleQuoteName, getIdentitySelectString, getSequenceAfterSelectString, getSequenceBeforeSelectString, getSequenceNextValString, isKeyGeneratorIdentitySupported, isKeyGeneratorIdentityTypeSupported, isKeyGeneratorSequenceSupported, isKeyGeneratorSequenceTypeSupported
Methods inherited from class org.castor.cpa.persistence.sql.driver.BaseFactory
adjustSqlType, getCallQuery, getKeyGenerator, getPersistence
-
Field Details
-
FACTORY_NAME
Internal name of this PersistenceFactory instance.- See Also:
-
-
Constructor Details
-
ProgressFactory
public ProgressFactory()
-
-
Method Details
-
getFactoryName
Description copied from interface:PersistenceFactory
Returns the name of this factory. A descriptive name that indicates the type of supported database server or SQL syntax.- Specified by:
getFactoryName
in interfacePersistenceFactory
- Overrides:
getFactoryName
in classGenericFactory
- Returns:
- The name of this factory
-
getQueryExpression
Description copied from interface:PersistenceFactory
Returns a new empty query expression suitable for the underlying SQL engine. The implementation will construct SQL query statements in the preferred syntax.- Specified by:
getQueryExpression
in interfacePersistenceFactory
- Overrides:
getQueryExpression
in classGenericFactory
- Returns:
- New empty query expression
-
quoteName
Description copied from interface:PersistenceFactory
Returns the quoted identifier suitable for preventing conflicts between database identifiers and reserved keywords.- Specified by:
quoteName
in interfacePersistenceFactory
- Overrides:
quoteName
in classGenericFactory
- Parameters:
name
- The identifier (table, column, etc)- Returns:
- The quoted identifier
-