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 com.webobjects.jdbcadaptor.JDBCPlugIn


Nested Class Summary
static class _MySQLPlugIn.MySQLExpression
           
static class _MySQLPlugIn.MySQLSynchronizationFactory
           
 
Field Summary
 
Fields inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_adaptor, _expressionClass, _expressionFactory, _pkTableName, _subprotocolRegistry, _syncFactory, DefaultPlugInClassName, DefaultPlugInSuffix
 
Constructor Summary
_MySQLPlugIn(com.webobjects.jdbcadaptor.JDBCAdaptor adaptor)
           
 
Method Summary
 com.webobjects.eoaccess.EOSynchronizationFactory createSynchronizationFactory()
           
 java.lang.String databaseProductName()
           
 java.lang.String defaultDriverName()
           
 java.lang.Class<_MySQLPlugIn.MySQLExpression> defaultExpressionClass()
           
 java.lang.Object fetchBLOB(java.sql.ResultSet rs, int column, com.webobjects.eoaccess.EOAttribute attribute, boolean materialize)
           
 com.webobjects.foundation.NSDictionary jdbcInfo()
           
 java.lang.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.
 
Methods inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn
_attributeForPath, _couldIgnoreException, _relationshipForPath, _takeValueForKeyPath, adaptor, assignTypeForAttribute, canDescribeStoredProcedure, connectionPropertiesForConnectionDictionary, connectionURL, createAttributeForRow, createExpressionFactory, databaseInformation, expressionFactory, 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

_MySQLPlugIn

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

name

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

Returns:
Name of the plugin.

defaultDriverName

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

databaseProductName

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

defaultExpressionClass

public java.lang.Class<_MySQLPlugIn.MySQLExpression> defaultExpressionClass()
Overrides:
defaultExpressionClass in class com.webobjects.jdbcadaptor.JDBCPlugIn

createSynchronizationFactory

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

jdbcInfo

public com.webobjects.foundation.NSDictionary jdbcInfo()
Overrides:
jdbcInfo in class com.webobjects.jdbcadaptor.JDBCPlugIn

fetchBLOB

public java.lang.Object fetchBLOB(java.sql.ResultSet rs,
                                  int column,
                                  com.webobjects.eoaccess.EOAttribute attribute,
                                  boolean materialize)
                           throws java.sql.SQLException
Overrides:
fetchBLOB in class com.webobjects.jdbcadaptor.JDBCPlugIn
Throws:
java.sql.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'

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

Copyright © 2002 – 2007 Project Wonder.