|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.engine.BaseFactory
org.exolab.castor.jdo.drivers.GenericFactory
public class GenericFactory
PersistenceFactory
for generic JDBC driver.
Constructor Summary | |
---|---|
GenericFactory()
|
Method Summary | |
---|---|
protected java.lang.String |
doubleQuoteName(java.lang.String name)
Updated to handle input such as user.tablename.column |
java.lang.String |
getFactoryName()
Returns the name of this factory. |
QueryExpression |
getQueryExpression()
Returns a new empty query expression suitable for the underlying SQL engine. |
java.lang.Boolean |
isDuplicateKeyException(java.lang.Exception ex)
Determine if the given SQLException is DuplicateKeyException |
java.lang.String |
quoteName(java.lang.String name)
Returns the quoted identifier suitable for preventing conflicts between database identifiers and reserved keywords. |
Methods inherited from class org.exolab.castor.jdo.engine.BaseFactory |
---|
adjustSqlType, getCallQuery, getPersistence, supportsSetNullInWhere |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericFactory()
Method Detail |
---|
public java.lang.String getFactoryName()
PersistenceFactory
public QueryExpression getQueryExpression()
PersistenceFactory
public java.lang.Boolean isDuplicateKeyException(java.lang.Exception ex)
public java.lang.String quoteName(java.lang.String name)
PersistenceFactory
name
- The identifier (table, column, etc)
protected final java.lang.String doubleQuoteName(java.lang.String name)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |