Project Wonder 5.0

com.webobjects.jdbcadaptor
Class _MySQLPlugIn

java.lang.Object
  extended by com.webobjects.jdbcadaptor.JDBCPlugIn
      extended by com.webobjects.jdbcadaptor._MySQLPlugIn
Direct Known Subclasses:
MySQLPlugIn

public class _MySQLPlugIn
extends JDBCPlugIn


Nested Class Summary
static class _MySQLPlugIn.MySQLExpression
           
static class _MySQLPlugIn.MySQLSynchronizationFactory
           
 
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
_MySQLPlugIn(JDBCAdaptor adaptor)
           
 
Method Summary
 com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory createSchemaSynchronizationFactory()
           
 String databaseProductName()
           
 String defaultDriverName()
           
 Class<_MySQLPlugIn.MySQLExpression> defaultExpressionClass()
           
 Object fetchBLOB(ResultSet rs, int column, EOAttribute attribute, boolean materialize)
           
 NSDictionary<String,Object> jdbcInfo()
           
 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.
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.
protected  void writeJDBCInfo(NSDictionary<String,Object> jdbcInfo)
           
 
Methods inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, canDescribeStoredProcedure, connectionPropertiesForConnectionDictionary, connectionURL, createAttributeForRow, createExpressionFactory, createSynchronizationFactory, databaseInformation, expressionFactory, 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

_MySQLPlugIn

public _MySQLPlugIn(JDBCAdaptor adaptor)
Method Detail

name

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

Overrides:
name in class JDBCPlugIn
Returns:
Name of the plugin.

defaultDriverName

public String defaultDriverName()
Overrides:
defaultDriverName in class JDBCPlugIn

databaseProductName

public String databaseProductName()
Overrides:
databaseProductName in class JDBCPlugIn

defaultExpressionClass

public Class<_MySQLPlugIn.MySQLExpression> defaultExpressionClass()
Overrides:
defaultExpressionClass in class JDBCPlugIn

createSchemaSynchronizationFactory

public com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory createSchemaSynchronizationFactory()
Overrides:
createSchemaSynchronizationFactory in class JDBCPlugIn

jdbcInfo

public NSDictionary<String,Object> jdbcInfo()
Overrides:
jdbcInfo in class JDBCPlugIn

fetchBLOB

public Object fetchBLOB(ResultSet rs,
                        int column,
                        EOAttribute attribute,
                        boolean materialize)
                 throws SQLException
Overrides:
fetchBLOB in class JDBCPlugIn
Throws:
SQLException

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. Default is false.

Returns:
the flag set on the jdbc url with 'useBundledJdbcInfo'

writeJDBCInfo

protected void writeJDBCInfo(NSDictionary<String,Object> jdbcInfo)

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.