public class _FrontBasePlugIn
extends com.webobjects.jdbcadaptor.JDBCPlugIn
Modifier and Type | Class and Description |
---|---|
static class |
_FrontBasePlugIn.FrontbaseExpression |
static class |
_FrontBasePlugIn.FrontbaseSynchronizationFactory |
Constructor and Description |
---|
_FrontBasePlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor jdbcadaptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
canDescribeStoredProcedure(String s) |
Properties |
connectionPropertiesForConnectionDictionary(NSDictionary connectionDictionary) |
com.webobjects.eoaccess.EOSynchronizationFactory |
createSynchronizationFactory() |
String |
databaseProductName() |
String |
defaultDriverName() |
Class<? extends com.webobjects.jdbcadaptor.JDBCExpression> |
defaultExpressionClass() |
Object |
fetchBLOB(ResultSet resultset,
int i,
EOAttribute attribute,
boolean flag) |
Object |
fetchCLOB(ResultSet resultset,
int i,
EOAttribute attribute,
boolean flag) |
static String |
getPlugInVersion() |
NSDictionary<String,Object> |
jdbcInfo()
This is usually extracted from the the database using JDBC, but this is really inconvenient for users who are
trying to generate SQL at some.
|
String |
name()
WebObjects 5.4's version of JDBCAdaptor will use this in order to assemble the name of the prototype to use when
it loads models.
|
NSArray<NSDictionary<String,Object>> |
newPrimaryKeys(int numberOfKeys,
com.webobjects.eoaccess.EOEntity eoentity,
com.webobjects.jdbcadaptor.JDBCChannel jdbcchannel) |
protected static String |
notNullConstraintName(EOAttribute attribute) |
protected static String |
notNullConstraintName(String tableName,
String columnName) |
protected static String |
quoteTableName(String s) |
String |
schemaNameForEntity(com.webobjects.eoaccess.EOEntity eoentity) |
protected boolean |
shouldUseBundledJdbcInfo()
This method returns true if the connection URL for the database has a special flag on it which indicates to the
system that the jdbcInfo which has been bundled into the plugin is acceptable to use in place of actually going
to the database and getting it.
|
String |
storedProcedureSchemaPattern() |
void |
updateLOBs(com.webobjects.jdbcadaptor.JDBCChannel channel,
com.webobjects.jdbcadaptor.JDBCExpression expression,
NSDictionary<String,Object> row,
com.webobjects.eoaccess.EOEntity entity) |
String |
wildcardPatternForSchema() |
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, connectionURL, createAttributeForRow, createExpressionFactory, createSchemaSynchronizationFactory, databaseInformation, expressionFactory, isDroppedConnectionException, isPseudoColumnName, jdbcTypeForUnknownExternalType, newPrimaryKeySelectString, plugInNameForURL, plugInValueForValue, primaryKeyLockString, primaryKeyTableCreateString, primaryKeyTableName, removePlugInNameForSubprotocol, schemaSynchronizationFactory, setPlugInNameForSubprotocol, sqlStatementForGettingProcedureNames, sqlStatementForGettingTableNames, sqlStatementForTableNamed, storedProcedureCatalogPattern, storedProcedureNamed, synchronizationFactory, tableTypes, wildcardPatternForAttributes, wildcardPatternForTables
public _FrontBasePlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor jdbcadaptor)
public static String getPlugInVersion()
public boolean canDescribeStoredProcedure(String s)
canDescribeStoredProcedure
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public com.webobjects.eoaccess.EOSynchronizationFactory createSynchronizationFactory()
createSynchronizationFactory
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public String defaultDriverName()
defaultDriverName
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public String databaseProductName()
databaseProductName
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public String name()
WebObjects 5.4's version of JDBCAdaptor will use this in order to assemble the name of the prototype to use when it loads models.
name
in class com.webobjects.jdbcadaptor.JDBCPlugIn
protected boolean shouldUseBundledJdbcInfo()
This method returns true if the connection URL for the database has a special flag on it which indicates to the system that the jdbcInfo which has been bundled into the plugin is acceptable to use in place of actually going to the database and getting it.
true
jdbcInfo which has been bundled into the plugin is acceptable to usepublic Class<? extends com.webobjects.jdbcadaptor.JDBCExpression> defaultExpressionClass()
defaultExpressionClass
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public String wildcardPatternForSchema()
wildcardPatternForSchema
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public String schemaNameForEntity(com.webobjects.eoaccess.EOEntity eoentity)
schemaNameForEntity
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public String storedProcedureSchemaPattern()
storedProcedureSchemaPattern
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public Properties connectionPropertiesForConnectionDictionary(NSDictionary connectionDictionary)
connectionPropertiesForConnectionDictionary
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public NSDictionary<String,Object> jdbcInfo()
This is usually extracted from the the database using JDBC, but this is really inconvenient for users who are trying to generate SQL at some. A specific version of the data has been written into the property list of the framework and this can be used as a hard-coded equivalent.
jdbcInfo
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public void updateLOBs(com.webobjects.jdbcadaptor.JDBCChannel channel, com.webobjects.jdbcadaptor.JDBCExpression expression, NSDictionary<String,Object> row, com.webobjects.eoaccess.EOEntity entity)
updateLOBs
in class com.webobjects.jdbcadaptor.JDBCPlugIn
public Object fetchBLOB(ResultSet resultset, int i, EOAttribute attribute, boolean flag) throws SQLException
fetchBLOB
in class com.webobjects.jdbcadaptor.JDBCPlugIn
SQLException
public Object fetchCLOB(ResultSet resultset, int i, EOAttribute attribute, boolean flag) throws SQLException
fetchCLOB
in class com.webobjects.jdbcadaptor.JDBCPlugIn
SQLException
public NSArray<NSDictionary<String,Object>> newPrimaryKeys(int numberOfKeys, com.webobjects.eoaccess.EOEntity eoentity, com.webobjects.jdbcadaptor.JDBCChannel jdbcchannel)
newPrimaryKeys
in class com.webobjects.jdbcadaptor.JDBCPlugIn
protected static String notNullConstraintName(EOAttribute attribute)
protected static String notNullConstraintName(String tableName, String columnName)
Copyright © 2002 – 2020 Project Wonder.