org.exolab.castor.jdo.drivers
Class SQLServerFactory

java.lang.Object
  extended by org.exolab.castor.jdo.engine.BaseFactory
      extended by org.exolab.castor.jdo.drivers.GenericFactory
          extended by org.exolab.castor.jdo.drivers.SybaseFactory
              extended by org.exolab.castor.jdo.drivers.SQLServerFactory
All Implemented Interfaces:
PersistenceFactory

public final class SQLServerFactory
extends SybaseFactory

PersistenceFactory for SQL Server.

Version:
$Revision: 1.2 $ $Date: 2004/01/19 20:01:46 $
Author:
Assaf Arkin, Oleg Nitz

Constructor Summary
SQLServerFactory()
           
 
Method Summary
 java.lang.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, isDuplicateKeyException, quoteName
 
Methods inherited from class org.exolab.castor.jdo.drivers.GenericFactory
doubleQuoteName
 
Methods inherited from class org.exolab.castor.jdo.engine.BaseFactory
adjustSqlType, getPersistence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLServerFactory

public SQLServerFactory()
Method Detail

getFactoryName

public java.lang.String 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 interface PersistenceFactory
Overrides:
getFactoryName in class SybaseFactory
Returns:
The name of this factory

getQueryExpression

public QueryExpression 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 interface PersistenceFactory
Overrides:
getQueryExpression in class SybaseFactory
Returns:
New empty query expression

supportsSetNullInWhere

public boolean supportsSetNullInWhere()
SQL Server doesn't support setNull for "WHERE fld=?".

Overrides:
supportsSetNullInWhere in class SybaseFactory


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