Project Wonder 5.0.0.8658

com.webobjects.jdbcadaptor
Class DerbyPlugIn

java.lang.Object
  extended by com.webobjects.jdbcadaptor.JDBCPlugIn
      extended by com.webobjects.jdbcadaptor.DerbyPlugIn

public class DerbyPlugIn
extends JDBCPlugIn


Nested Class Summary
static class DerbyPlugIn.DerbyExpression
           
static class DerbyPlugIn.DerbySynchronizationFactory
           
 
Nested classes/interfaces inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
JDBCPlugIn.LobEntry
 
Field Summary
 
Fields inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_adaptor, _expressionClass, _expressionFactory, _pkTableName, _subprotocolRegistry, _syncFactory, DefaultPlugInClassName, DefaultPlugInSuffix
 
Constructor Summary
DerbyPlugIn(JDBCAdaptor adaptor)
           
 
Method Summary
 EOSynchronizationFactory createSynchronizationFactory()
           
 String databaseProductName()
           
 String defaultDriverName()
           
 Class defaultExpressionClass()
           
 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.
 String name()
           
protected  boolean shouldUseBundledJdbcInfo()
           This method returns true if the connection URL for the database has useBundledJdbcInfo=true 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.
 
Methods inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, canDescribeStoredProcedure, connectionPropertiesForConnectionDictionary, connectionURL, createAttributeForRow, createExpressionFactory, createSchemaSynchronizationFactory, databaseInformation, expressionFactory, fetchBLOB, fetchCLOB, isDroppedConnectionException, isPseudoColumnName, jdbcTypeForUnknownExternalType, newPrimaryKeys, newPrimaryKeySelectString, plugInNameForURL, plugInValueForValue, primaryKeyLockString, primaryKeyTableCreateString, primaryKeyTableName, removePlugInNameForSubprotocol, schemaNameForEntity, schemaSynchronizationFactory, setPlugInNameForSubprotocol, sqlStatementForGettingProcedureNames, sqlStatementForGettingTableNames, sqlStatementForTableNamed, storedProcedureCatalogPattern, storedProcedureNamed, storedProcedureSchemaPattern, synchronizationFactory, tableTypes, updateLOBs, wildcardPatternForAttributes, wildcardPatternForSchema, wildcardPatternForTables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbyPlugIn

public DerbyPlugIn(JDBCAdaptor adaptor)
Method Detail

shouldUseBundledJdbcInfo

protected boolean shouldUseBundledJdbcInfo()

This method returns true if the connection URL for the database has useBundledJdbcInfo=true 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:

jdbcInfo

public 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 JDBCPlugIn

defaultDriverName

public String defaultDriverName()
Overrides:
defaultDriverName in class JDBCPlugIn

databaseProductName

public String databaseProductName()
Overrides:
databaseProductName in class JDBCPlugIn

name

public String name()
Overrides:
name in class JDBCPlugIn

defaultExpressionClass

public Class defaultExpressionClass()
Overrides:
defaultExpressionClass in class JDBCPlugIn

createSynchronizationFactory

public EOSynchronizationFactory createSynchronizationFactory()
Overrides:
createSynchronizationFactory in class JDBCPlugIn

Last updated: Fri, Nov 21, 2008 • 04:36 AM EST

Copyright © 2002 – 2007 Project Wonder.