
Public Member Functions | |
| EOSynchronizationFactory | createSynchronizationFactory () |
| String | databaseProductName () |
| String | defaultDriverName () |
| Class | defaultExpressionClass () |
| NSDictionary | jdbcInfo () |
| String | name () |
| NSArray | newPrimaryKeys (int count, EOEntity entity, JDBCChannel channel) |
| PostgresqlPlugIn (JDBCAdaptor adaptor) | |
Protected Member Functions | |
| boolean | shouldUseBundledJdbcInfo () |
Static Protected Member Functions | |
| static String | _sequenceNameForEntity (EOEntity entity) |
Static Package Functions | |
| [static initializer] | |
Private Member Functions | |
| boolean | isPrimaryKeyGenerationNotSupported (EOEntity entity) |
Static Private Attributes | |
| static final String | QUERY_STRING_USE_BUNDLED_JDBC_INFO = "useBundledJdbcInfo" |
| PostgresqlPlugIn | ( | JDBCAdaptor | adaptor | ) |
Designated constructor.
| [static initializer] | ( | ) | [static, package] |
| static String _sequenceNameForEntity | ( | EOEntity | entity | ) | [static, protected] |
Utility method that returns the name of the sequence associated with entity
| entity | the entity |
| EOSynchronizationFactory createSynchronizationFactory | ( | ) |
Returns a "pure java" synchronization factory. Useful for testing purposes.
| String databaseProductName | ( | ) |
Name of the database.
| String defaultDriverName | ( | ) |
Name of the driver.
| Class defaultExpressionClass | ( | ) |
Expression class to create. We have custom code, so we need our own class.
| boolean isPrimaryKeyGenerationNotSupported | ( | EOEntity | entity | ) | [private] |
Checks whether primary key generation can be supported for entity
| entity | the entity to be checked |
| 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.
| 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 newPrimaryKeys | ( | int | count, | |
| EOEntity | entity, | |||
| 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.
| count | the batch size | |
| entity | the entity requesting primary keys | |
| channel | open JDBCChannel |
| boolean shouldUseBundledJdbcInfo | ( | ) | [protected] |
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.
final String QUERY_STRING_USE_BUNDLED_JDBC_INFO = "useBundledJdbcInfo" [static, private] |
1.5.8