Project Wonder 5.0

er.h2.jdbcadaptor
Class ERH2PlugIn

java.lang.Object
  extended by com.webobjects.jdbcadaptor.JDBCPlugIn
      extended by er.h2.jdbcadaptor.ERH2PlugIn
Direct Known Subclasses:
H2PlugIn

public class ERH2PlugIn
extends com.webobjects.jdbcadaptor.JDBCPlugIn


Nested Class Summary
static class ERH2PlugIn.H2Expression
           
static class ERH2PlugIn.H2SynchronizationFactory
           
 
Field Summary
 
Fields inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_adaptor, _expressionClass, _expressionFactory, _pkTableName, _subprotocolRegistry, _syncFactory, DefaultPlugInClassName, DefaultPlugInSuffix
 
Constructor Summary
ERH2PlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor adaptor)
           
 
Method Summary
 com.webobjects.eoaccess.EOSynchronizationFactory createSynchronizationFactory()
           
 java.lang.String databaseProductName()
           
 java.lang.String defaultDriverName()
           
 java.lang.Class defaultExpressionClass()
           
 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()
           
protected static java.lang.String quoteTableName(java.lang.String name)
           
protected  boolean shouldUseBundledJdbcInfo()
           This method returns true by default unless the connection URL for the database has useBundledJdbcInfo=false on it which indicates to the system that the jdbcInfo which has been bundled into the plugin is not acceptable to use and instead it should fetch a fresh copy from the database.
 
Methods inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, canDescribeStoredProcedure, connectionPropertiesForConnectionDictionary, connectionURL, createAttributeForRow, createExpressionFactory, databaseInformation, expressionFactory, fetchBLOB, fetchCLOB, isPseudoColumnName, jdbcTypeForUnknownExternalType, newPrimaryKeys, newPrimaryKeySelectString, plugInNameForURL, plugInValueForValue, primaryKeyLockString, primaryKeyTableName, removePlugInNameForSubprotocol, schemaNameForEntity, 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

ERH2PlugIn

public ERH2PlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor adaptor)
Method Detail

quoteTableName

protected static java.lang.String quoteTableName(java.lang.String name)

createSynchronizationFactory

public com.webobjects.eoaccess.EOSynchronizationFactory createSynchronizationFactory()
Overrides:
createSynchronizationFactory in class com.webobjects.jdbcadaptor.JDBCPlugIn

databaseProductName

public java.lang.String databaseProductName()
Overrides:
databaseProductName in class com.webobjects.jdbcadaptor.JDBCPlugIn

defaultDriverName

public java.lang.String defaultDriverName()
Overrides:
defaultDriverName in class com.webobjects.jdbcadaptor.JDBCPlugIn

defaultExpressionClass

public java.lang.Class defaultExpressionClass()
Overrides:
defaultExpressionClass 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.

Provide system property h2.updateJDBCInfo=true to cause H2JDBCInfo.plist to be written out to the platform temp dir.

Overrides:
jdbcInfo in class com.webobjects.jdbcadaptor.JDBCPlugIn

name

public java.lang.String name()

shouldUseBundledJdbcInfo

protected boolean shouldUseBundledJdbcInfo()

This method returns true by default unless the connection URL for the database has useBundledJdbcInfo=false on it which indicates to the system that the jdbcInfo which has been bundled into the plugin is not acceptable to use and instead it should fetch a fresh copy from the database.


Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.