com.webobjects.jdbcadaptor
Class _FrontBasePlugIn
java.lang.Object
com.webobjects.jdbcadaptor.JDBCPlugIn
com.webobjects.jdbcadaptor._FrontBasePlugIn
- Direct Known Subclasses:
- FrontBasePlugIn
public class _FrontBasePlugIn
- extends com.webobjects.jdbcadaptor.JDBCPlugIn
This is the wo5 java runtime plugin for FrontBase.
- Author:
- Cail Borrell
Fields inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn |
_adaptor, _expressionClass, _expressionFactory, _pkTableName, _subprotocolRegistry, _syncFactory, DefaultPlugInClassName, DefaultPlugInSuffix |
Constructor Summary |
_FrontBasePlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor jdbcadaptor)
|
Method Summary |
boolean |
canDescribeStoredProcedure(java.lang.String s)
|
java.util.Properties |
connectionPropertiesForConnectionDictionary(com.webobjects.foundation.NSDictionary connectionDictionary)
|
com.webobjects.eoaccess.EOSynchronizationFactory |
createSynchronizationFactory()
|
java.lang.String |
databaseProductName()
|
java.lang.String |
defaultDriverName()
|
java.lang.Class |
defaultExpressionClass()
|
java.lang.Object |
fetchBLOB(java.sql.ResultSet resultset,
int i,
com.webobjects.eoaccess.EOAttribute attribute,
boolean flag)
|
java.lang.Object |
fetchCLOB(java.sql.ResultSet resultset,
int i,
com.webobjects.eoaccess.EOAttribute attribute,
boolean flag)
|
static java.lang.String |
getPlugInVersion()
|
protected static int |
internalTypeForExternal(java.lang.String externalType)
|
com.webobjects.foundation.NSDictionary |
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. |
java.lang.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. |
com.webobjects.foundation.NSArray |
newPrimaryKeys(int numberOfKeys,
com.webobjects.eoaccess.EOEntity eoentity,
com.webobjects.jdbcadaptor.JDBCChannel jdbcchannel)
|
protected static java.lang.String |
notNullConstraintName(com.webobjects.eoaccess.EOAttribute attribute)
|
protected static java.lang.String |
notNullConstraintName(java.lang.String tableName,
java.lang.String columnName)
|
protected static java.lang.String |
quoteTableName(java.lang.String s)
|
java.lang.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. |
java.lang.String |
storedProcedureSchemaPattern()
|
void |
updateLOBs(com.webobjects.jdbcadaptor.JDBCChannel channel,
com.webobjects.jdbcadaptor.JDBCExpression expression,
com.webobjects.foundation.NSDictionary dictionary,
com.webobjects.eoaccess.EOEntity entity)
|
java.lang.String |
wildcardPatternForSchema()
|
Methods inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn |
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, connectionURL, createAttributeForRow, createExpressionFactory, databaseInformation, expressionFactory, isPseudoColumnName, jdbcTypeForUnknownExternalType, newPrimaryKeySelectString, plugInNameForURL, plugInValueForValue, primaryKeyLockString, primaryKeyTableName, removePlugInNameForSubprotocol, setPlugInNameForSubprotocol, sqlStatementForGettingProcedureNames, sqlStatementForGettingTableNames, sqlStatementForTableNamed, storedProcedureCatalogPattern, storedProcedureNamed, synchronizationFactory, tableTypes, wildcardPatternForAttributes, wildcardPatternForTables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FB_Boolean
protected static final int FB_Boolean
- See Also:
- Constant Field Values
FB_Integer
protected static final int FB_Integer
- See Also:
- Constant Field Values
FB_SmallInteger
protected static final int FB_SmallInteger
- See Also:
- Constant Field Values
FB_Float
protected static final int FB_Float
- See Also:
- Constant Field Values
FB_Real
protected static final int FB_Real
- See Also:
- Constant Field Values
FB_Double
protected static final int FB_Double
- See Also:
- Constant Field Values
FB_Numeric
protected static final int FB_Numeric
- See Also:
- Constant Field Values
FB_Decimal
protected static final int FB_Decimal
- See Also:
- Constant Field Values
FB_Character
protected static final int FB_Character
- See Also:
- Constant Field Values
FB_VCharacter
protected static final int FB_VCharacter
- See Also:
- Constant Field Values
FB_Bit
protected static final int FB_Bit
- See Also:
- Constant Field Values
FB_VBit
protected static final int FB_VBit
- See Also:
- Constant Field Values
FB_Date
protected static final int FB_Date
- See Also:
- Constant Field Values
FB_Time
protected static final int FB_Time
- See Also:
- Constant Field Values
FB_TimeTZ
protected static final int FB_TimeTZ
- See Also:
- Constant Field Values
FB_Timestamp
protected static final int FB_Timestamp
- See Also:
- Constant Field Values
FB_TimestampTZ
protected static final int FB_TimestampTZ
- See Also:
- Constant Field Values
FB_YearMonth
protected static final int FB_YearMonth
- See Also:
- Constant Field Values
FB_DayTime
protected static final int FB_DayTime
- See Also:
- Constant Field Values
FB_CLOB
protected static final int FB_CLOB
- See Also:
- Constant Field Values
FB_BLOB
protected static final int FB_BLOB
- See Also:
- Constant Field Values
FB_TinyInteger
protected static final int FB_TinyInteger
- See Also:
- Constant Field Values
FB_LongInteger
protected static final int FB_LongInteger
- See Also:
- Constant Field Values
_FrontBasePlugIn
public _FrontBasePlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor jdbcadaptor)
getPlugInVersion
public static java.lang.String getPlugInVersion()
canDescribeStoredProcedure
public boolean canDescribeStoredProcedure(java.lang.String s)
- Overrides:
canDescribeStoredProcedure
in class com.webobjects.jdbcadaptor.JDBCPlugIn
createSynchronizationFactory
public com.webobjects.eoaccess.EOSynchronizationFactory createSynchronizationFactory()
- Overrides:
createSynchronizationFactory
in class com.webobjects.jdbcadaptor.JDBCPlugIn
defaultDriverName
public java.lang.String defaultDriverName()
- Overrides:
defaultDriverName
in class com.webobjects.jdbcadaptor.JDBCPlugIn
databaseProductName
public java.lang.String databaseProductName()
- Overrides:
databaseProductName
in class com.webobjects.jdbcadaptor.JDBCPlugIn
name
public java.lang.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.
- Returns:
- the name of the plugin.
shouldUseBundledJdbcInfo
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.
- Returns:
true
jdbcInfo which has been bundled into the plugin is acceptable to use
defaultExpressionClass
public java.lang.Class defaultExpressionClass()
- Overrides:
defaultExpressionClass
in class com.webobjects.jdbcadaptor.JDBCPlugIn
wildcardPatternForSchema
public java.lang.String wildcardPatternForSchema()
- Overrides:
wildcardPatternForSchema
in class com.webobjects.jdbcadaptor.JDBCPlugIn
schemaNameForEntity
public java.lang.String schemaNameForEntity(com.webobjects.eoaccess.EOEntity eoentity)
- Overrides:
schemaNameForEntity
in class com.webobjects.jdbcadaptor.JDBCPlugIn
storedProcedureSchemaPattern
public java.lang.String storedProcedureSchemaPattern()
- Overrides:
storedProcedureSchemaPattern
in class com.webobjects.jdbcadaptor.JDBCPlugIn
connectionPropertiesForConnectionDictionary
public java.util.Properties connectionPropertiesForConnectionDictionary(com.webobjects.foundation.NSDictionary connectionDictionary)
- Overrides:
connectionPropertiesForConnectionDictionary
in class com.webobjects.jdbcadaptor.JDBCPlugIn
jdbcInfo
public com.webobjects.foundation.NSDictionary 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.
- Overrides:
jdbcInfo
in class com.webobjects.jdbcadaptor.JDBCPlugIn
updateLOBs
public void updateLOBs(com.webobjects.jdbcadaptor.JDBCChannel channel,
com.webobjects.jdbcadaptor.JDBCExpression expression,
com.webobjects.foundation.NSDictionary dictionary,
com.webobjects.eoaccess.EOEntity entity)
- Overrides:
updateLOBs
in class com.webobjects.jdbcadaptor.JDBCPlugIn
fetchBLOB
public java.lang.Object fetchBLOB(java.sql.ResultSet resultset,
int i,
com.webobjects.eoaccess.EOAttribute attribute,
boolean flag)
throws java.sql.SQLException
- Overrides:
fetchBLOB
in class com.webobjects.jdbcadaptor.JDBCPlugIn
- Throws:
java.sql.SQLException
fetchCLOB
public java.lang.Object fetchCLOB(java.sql.ResultSet resultset,
int i,
com.webobjects.eoaccess.EOAttribute attribute,
boolean flag)
throws java.sql.SQLException
- Overrides:
fetchCLOB
in class com.webobjects.jdbcadaptor.JDBCPlugIn
- Throws:
java.sql.SQLException
newPrimaryKeys
public com.webobjects.foundation.NSArray newPrimaryKeys(int numberOfKeys,
com.webobjects.eoaccess.EOEntity eoentity,
com.webobjects.jdbcadaptor.JDBCChannel jdbcchannel)
- Overrides:
newPrimaryKeys
in class com.webobjects.jdbcadaptor.JDBCPlugIn
notNullConstraintName
protected static java.lang.String notNullConstraintName(com.webobjects.eoaccess.EOAttribute attribute)
notNullConstraintName
protected static java.lang.String notNullConstraintName(java.lang.String tableName,
java.lang.String columnName)
quoteTableName
protected static java.lang.String quoteTableName(java.lang.String s)
internalTypeForExternal
protected static int internalTypeForExternal(java.lang.String externalType)
Copyright © 2002 – 2007 Project Wonder.