org.exolab.castor.jdo.drivers

Class OracleFactory

public class OracleFactory extends GenericFactory

PersistenceFactory for Oracle 7/8 driver.

Version: $Revision: 5951 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $

Author: Assaf Arkin

Field Summary
static StringFACTORY_NAME
Method Summary
ClassadjustSqlType(Class sqlType)
For INTEGER type ResultSet.getObject() returns BigDecimal: dependent objects with integer identity cause type conversion error (need to fix SimpleQueryExecutor).
PersistenceQuerygetCallQuery(String call, Class[] paramTypes, Class javaClass, String[] fields, int[] sqlTypes)
Needed to process OQL queries of "CALL" type (using stored procedure call).
StringgetFactoryName()
QueryExpressiongetQueryExpression()
BooleanisDuplicateKeyException(Exception except)
StringquoteName(String name)

Field Detail

FACTORY_NAME

public static final String FACTORY_NAME

Method Detail

adjustSqlType

public Class adjustSqlType(Class sqlType)
For INTEGER type ResultSet.getObject() returns BigDecimal: dependent objects with integer identity cause type conversion error (need to fix SimpleQueryExecutor).

See Also: BaseFactory

UNKNOWN:

getCallQuery

public PersistenceQuery getCallQuery(String call, Class[] paramTypes, Class javaClass, String[] fields, int[] sqlTypes)
Needed to process OQL queries of "CALL" type (using stored procedure call). This feature is specific for JDO.

Parameters: call Stored procedure call (without "{call") paramTypes The types of the query parameters javaClass The Java class of the query results fields The field names sqlTypes The field SQL types

Returns: null if this feature is not supported.

getFactoryName

public String getFactoryName()

See Also: getFactoryName

UNKNOWN:

getQueryExpression

public QueryExpression getQueryExpression()

See Also: getQueryExpression

UNKNOWN:

isDuplicateKeyException

public Boolean isDuplicateKeyException(Exception except)

See Also: PersistenceFactory

UNKNOWN:

quoteName

public String quoteName(String name)

See Also: PersistenceFactory

UNKNOWN:

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