public class PostgresqlPlugIn
extends com.webobjects.jdbcadaptor.JDBCPlugIn
| Constructor and Description |
|---|
PostgresqlPlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor adaptor)
Designated constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
_sequenceNameForEntity(com.webobjects.eoaccess.EOEntity entity)
Utility method that returns the name of the sequence associated
with
entity |
com.webobjects.eoaccess.EOSynchronizationFactory |
createSynchronizationFactory()
Returns a "pure java" synchronization factory.
|
String |
databaseProductName() |
String |
defaultDriverName() |
Class<? extends com.webobjects.jdbcadaptor.JDBCExpression> |
defaultExpressionClass()
Expression class to create.
|
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 count,
com.webobjects.eoaccess.EOEntity entity,
com.webobjects.jdbcadaptor.JDBCChannel channel)
Overrides the parent implementation to provide a more efficient mechanism for generating primary keys,
while generating the primary key support on the fly.
|
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. |
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, canDescribeStoredProcedure, connectionPropertiesForConnectionDictionary, connectionURL, createAttributeForRow, createExpressionFactory, createSchemaSynchronizationFactory, databaseInformation, expressionFactory, fetchBLOB, fetchCLOB, isDroppedConnectionException, isPseudoColumnName, jdbcTypeForUnknownExternalType, newPrimaryKeySelectString, plugInNameForURL, plugInValueForValue, primaryKeyLockString, primaryKeyTableCreateString, primaryKeyTableName, removePlugInNameForSubprotocol, schemaNameForEntity, schemaSynchronizationFactory, setPlugInNameForSubprotocol, sqlStatementForGettingProcedureNames, sqlStatementForGettingTableNames, sqlStatementForTableNamed, storedProcedureCatalogPattern, storedProcedureNamed, storedProcedureSchemaPattern, synchronizationFactory, tableTypes, updateLOBs, wildcardPatternForAttributes, wildcardPatternForSchema, wildcardPatternForTablespublic PostgresqlPlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor adaptor)
public String defaultDriverName()
defaultDriverName in class com.webobjects.jdbcadaptor.JDBCPlugInpublic String databaseProductName()
databaseProductName in class com.webobjects.jdbcadaptor.JDBCPlugInpublic String name()
name in class com.webobjects.jdbcadaptor.JDBCPlugInprotected boolean shouldUseBundledJdbcInfo()
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 if bundled jdbcInfo should be usedpublic NSDictionary<String,Object> jdbcInfo()
jdbcInfo in class com.webobjects.jdbcadaptor.JDBCPlugInpublic com.webobjects.eoaccess.EOSynchronizationFactory createSynchronizationFactory()
createSynchronizationFactory in class com.webobjects.jdbcadaptor.JDBCPlugInpublic Class<? extends com.webobjects.jdbcadaptor.JDBCExpression> defaultExpressionClass()
defaultExpressionClass in class com.webobjects.jdbcadaptor.JDBCPlugInpublic NSArray<NSDictionary<String,Object>> newPrimaryKeys(int count, com.webobjects.eoaccess.EOEntity entity, com.webobjects.jdbcadaptor.JDBCChannel channel)
newPrimaryKeys in class com.webobjects.jdbcadaptor.JDBCPlugIncount - the batch sizeentity - the entity requesting primary keyschannel - open JDBCChannelprotected static String _sequenceNameForEntity(com.webobjects.eoaccess.EOEntity entity)
entityentity - the entityCopyright © 2002 – 2020 Project Wonder.