org.exolab.castor.jdo.drivers
Class SybaseFactory
- PersistenceFactory
public class SybaseFactory
PersistenceFactory for Sybase Adaptive Servers.
Version:
- Assaf Arkin
- Oleg Nitz
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.
- getCallQuery in interface BaseFactory
call - Stored procedure call (without "{call")paramTypes - The types of the query parametersjavaClass - The Java class of the query resultsfields - The field namessqlTypes - The field SQL types
- null if this feature is not supported.
isDuplicateKeyException
public Boolean isDuplicateKeyException(Exception except)
Determine if the given SQLException is DuplicateKeyException
- isDuplicateKeyException in interface PersistenceFactory
- isDuplicateKeyException in interface GenericFactory
- Boolean.TRUE means "yes",
Boolean.FALSE means "no",
null means "cannot determine"
supportsSetNullInWhere
public boolean supportsSetNullInWhere()
Sybase supports setNull for "WHERE fld=?".
- supportsSetNullInWhere in interface BaseFactory
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com