org.exolab.castor.jdo.drivers

Class GenericFactory

public class GenericFactory extends BaseFactory

{@link org.exolab.castor.persist.spi.PersistenceFactory} for generic JDBC driver.

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:11 $

Author: Assaf Arkin

Method Summary
protected StringdoubleQuoteName(String name)
Updated to handle input such as user.tablename.column
StringgetFactoryName()
QueryExpressiongetQueryExpression()
BooleanisDuplicateKeyException(Exception ex)
Determine if the given SQLException is DuplicateKeyException
StringquoteName(String name)

Method Detail

doubleQuoteName

protected final String doubleQuoteName(String name)
Updated to handle input such as user.tablename.column

Author: Andrew Ballanger

UNKNOWN: 3/15/2001

getFactoryName

public String getFactoryName()

getQueryExpression

public QueryExpression getQueryExpression()

isDuplicateKeyException

public Boolean isDuplicateKeyException(Exception ex)
Determine if the given SQLException is DuplicateKeyException

Returns: Boolean.TRUE means "yes", Boolean.FALSE means "no", null means "cannot determine"

quoteName

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