|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.jdbcadaptor.JDBCPlugIn com.webobjects.jdbcadaptor.MySQLPlugIn
Nested Class Summary | |
static class |
MySQLPlugIn.MySQLExpression
|
static class |
MySQLPlugIn.MySQLSynchronizationFactory
|
Field Summary |
Fields inherited from class com.webobjects.jdbcadaptor.JDBCPlugIn |
DefaultPlugInClassName, DefaultPlugInSuffix |
Constructor Summary | |
MySQLPlugIn(JDBCAdaptor adaptor)
|
Method Summary | |
EOSynchronizationFactory |
createSynchronizationFactory()
Creates a new EOSynchronizationFactory using the plugin's response to adaptor() . |
String |
databaseProductName()
Returns a string identifying the database. |
String |
defaultDriverName()
Returns a fully qualified name of the JDBC driver class that this plugin prefers to use. |
Class |
defaultExpressionClass()
Returns the Java Class to use as the expression class. |
Object |
fetchBLOB(ResultSet rs,
int column,
EOAttribute attribute,
boolean materialize)
Fetch a BLOB. |
NSDictionary |
jdbcInfo()
Returns database-specific information about the JDBC data source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MySQLPlugIn(JDBCAdaptor adaptor)
Method Detail |
public EOSynchronizationFactory createSynchronizationFactory()
JDBCPlugIn
adaptor()
. The default
EOSynchronizationFactory supports only basic SQL table
generation. Subclasses need to override this method to support
schema synchronization.
createSynchronizationFactory
in class JDBCPlugIn
JDBCPlugIn.synchronizationFactory()
public String databaseProductName()
JDBCPlugIn
databaseProductName
in class JDBCPlugIn
public String defaultDriverName()
JDBCPlugIn
defaultDriverName
in class JDBCPlugIn
public Class defaultExpressionClass()
JDBCPlugIn
defaultExpressionClass
in class JDBCPlugIn
JDBCExpression
,
JDBCAdaptor.defaultExpressionClass()
public Object fetchBLOB(ResultSet rs, int column, EOAttribute attribute, boolean materialize) throws SQLException
JDBCPlugIn
null
.
fetchBLOB
in class JDBCPlugIn
rs
- the current ResultSetcolumn
- the column index corresponding to the BLOBattribute
- the attribute mapped to the BLOBmaterialize
- a boolean that determines if the BLOB should be
fully "materialized" (if true
) or left as a reference
(if false
)
SQLException
JDBCPlugIn.updateLOBs(com.webobjects.jdbcadaptor.JDBCChannel, com.webobjects.jdbcadaptor.JDBCExpression, com.webobjects.foundation.NSDictionary, com.webobjects.eoaccess.EOEntity)
public NSDictionary jdbcInfo()
JDBCPlugIn
jdbcInfo
in class JDBCPlugIn
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |