org.exolab.castor.jdo.drivers

Class SapDbFactory

Implemented Interfaces:
PersistenceFactory

public final class SapDbFactory
extends OracleFactory

PersistenceFactory for SAP DB.
Version:
$Revision: 7101 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
Authors:
Oleg Nitz
Bruce Snyder

Field Summary

Fields inherited from class org.exolab.castor.jdo.drivers.OracleFactory

FACTORY_NAME

Method Summary

String
getFactoryName()
QueryExpression
getQueryExpression()
boolean
isAFunction(String text)
Tests a text string against a known list of functions to determine if it is a function.
String
quoteName(String name)
Quotes words in SQL statements.

Methods inherited from class org.exolab.castor.jdo.drivers.OracleFactory

adjustSqlType, getCallQuery, getFactoryName, getQueryExpression, isDuplicateKeyException, quoteName

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()
Specified by:
getFactoryName in interface PersistenceFactory
Overrides:
getFactoryName in interface OracleFactory

getQueryExpression

public QueryExpression getQueryExpression()
Specified by:
getQueryExpression in interface PersistenceFactory
Overrides:
getQueryExpression in interface OracleFactory

isAFunction

public boolean isAFunction(String text)
Tests a text string against a known list of functions to determine if it is a function.
Parameters:
text - The text to be checked

quoteName

public String quoteName(String name)
Quotes words in SQL statements. This method must recieve a non null, non empty string.
Specified by:
quoteName in interface PersistenceFactory
Overrides:
quoteName in interface OracleFactory
Parameters:
name - The SQL string that needs quotes added

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