Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.jdo.engine.BaseFactory
org.exolab.castor.jdo.drivers.GenericFactory
org.exolab.castor.jdo.drivers.DB2Factory
public final class DB2Factory
extends GenericFactory
PersistenceFactory
for DB 2 driver.
Method Summary | |
String |
|
QueryExpression |
|
Methods inherited from class org.exolab.castor.jdo.drivers.GenericFactory | |
doubleQuoteName , getFactoryName , getQueryExpression , isDuplicateKeyException , quoteName |
Methods inherited from class org.exolab.castor.jdo.engine.BaseFactory | |
adjustSqlType , getCallQuery , getPersistence , supportsSetNullInWhere |
public String getFactoryName()
Returns the name of this factory. A descriptive name that indicates the type of supported database server or SQL syntax.
- Specified by:
- getFactoryName in interface PersistenceFactory
- Overrides:
- getFactoryName in interface GenericFactory
- Returns:
- The name of this factory
public QueryExpression getQueryExpression()
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 interface PersistenceFactory
- Overrides:
- getQueryExpression in interface GenericFactory
- Returns:
- New empty query expression