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.SybaseFactory
org.exolab.castor.jdo.drivers.SQLServerFactory
public final class SQLServerFactory
extends SybaseFactory
Method Summary | |
String |
|
QueryExpression |
|
boolean |
|
Methods inherited from class org.exolab.castor.jdo.drivers.SybaseFactory | |
getCallQuery , getFactoryName , getQueryExpression , isDuplicateKeyException , quoteName , supportsSetNullInWhere |
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 SybaseFactory
- 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 SybaseFactory
- Returns:
- New empty query expression
public boolean supportsSetNullInWhere()
SQL Server doesn't support setNull for "WHERE fld=?".
- Overrides:
- supportsSetNullInWhere in interface SybaseFactory