org.exolab.castor.jdo.drivers

Class SQLServerFactory

Implemented Interfaces:
PersistenceFactory

public final class SQLServerFactory
extends SybaseFactory

PersistenceFactory for SQL Server.
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:15 $
Authors:
Assaf Arkin
Oleg Nitz

Method Summary

String
getFactoryName()
Returns the name of this factory.
QueryExpression
getQueryExpression()
Returns a new empty query expression suitable for the underlying SQL engine.
boolean
supportsSetNullInWhere()
SQL Server doesn't support setNull for "WHERE fld=?".

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

Method Details

getFactoryName

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

getQueryExpression

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

supportsSetNullInWhere

public boolean supportsSetNullInWhere()
SQL Server doesn't support setNull for "WHERE fld=?".
Overrides:
supportsSetNullInWhere in interface SybaseFactory

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com