PersistenceFactory
public final class PointbaseFactory extends GenericFactory
PersistenceFactory
implementation for
Borland's Pointbase driver.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
FACTORY_NAME |
Constructor | Description |
---|---|
PointbaseFactory() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getFactoryName() |
Returns the name of this factory.
|
java.lang.String |
getIdentitySelectString(java.lang.String tableName,
java.lang.String columnName) |
Returns the database specific query string for retrieving last identity value.
|
QueryExpression |
getQueryExpression() |
Returns a new empty query expression suitable for the underlying
SQL engine.
|
boolean |
isKeyGeneratorIdentitySupported() |
Does persistence factory support generation of unique keys with identity key generator?
|
boolean |
isKeyGeneratorIdentityTypeSupported(int type) |
Does identity key generator support generation of unique keys for the given SQL type?
|
adjustSqlType, getCallQuery, getKeyGenerator, getPersistence
doubleQuoteName, getSequenceAfterSelectString, getSequenceBeforeSelectString, getSequenceNextValString, isKeyGeneratorSequenceSupported, isKeyGeneratorSequenceTypeSupported, quoteName
public static final java.lang.String FACTORY_NAME
public java.lang.String getFactoryName()
PersistenceFactory
getFactoryName
in interface PersistenceFactory
getFactoryName
in class GenericFactory
public QueryExpression getQueryExpression()
getQueryExpression
in interface PersistenceFactory
getQueryExpression
in class GenericFactory
public boolean isKeyGeneratorIdentitySupported()
GenericFactory
isKeyGeneratorIdentitySupported
in interface PersistenceFactory
isKeyGeneratorIdentitySupported
in class GenericFactory
true
if persistence factory is able to generate unique keys with
identity key generator, false
otherwise.public boolean isKeyGeneratorIdentityTypeSupported(int type)
GenericFactory
isKeyGeneratorIdentityTypeSupported
in interface PersistenceFactory
isKeyGeneratorIdentityTypeSupported
in class GenericFactory
type
- SQL type to check for support by identity key generator.true
if persistence factory is able to generate unique keys of
given SQL type with identity key generator, false
otherwise.public java.lang.String getIdentitySelectString(java.lang.String tableName, java.lang.String columnName)
GenericFactory
getIdentitySelectString
in interface PersistenceFactory
getIdentitySelectString
in class GenericFactory
tableName
- Name of the table from which identity needs to be fetched.columnName
- Name of the column from which identity needs to be fetched.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com