|
WebObjects 5.4.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.jdbcadaptor.JDBCPlugIn
com.webobjects.jdbcadaptor.MySQLPlugIn
public class MySQLPlugIn
| 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 |
|---|
DefaultPlugInClassName, DefaultPlugInSuffix |
| Constructor Summary | |
|---|---|
MySQLPlugIn(JDBCAdaptor adaptor)
|
|
| Method Summary | |
|---|---|
EOSchemaSynchronizationFactory |
createSchemaSynchronizationFactory()
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<String,Object> |
jdbcInfo()
Returns database-specific information about the JDBC data source. |
String |
name()
Returns the plugin's name. |
| 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 String name()
JDBCPlugIn
name in class JDBCPlugInpublic String defaultDriverName()
JDBCPlugIn
defaultDriverName in class JDBCPlugInpublic String databaseProductName()
JDBCPlugIn
databaseProductName in class JDBCPlugInpublic Class defaultExpressionClass()
JDBCPlugIn
defaultExpressionClass in class JDBCPlugInJDBCExpression,
JDBCAdaptor#defaultExpressionClasspublic EOSchemaSynchronizationFactory createSchemaSynchronizationFactory()
JDBCPlugInadaptor(). The default EOSynchronizationFactory supports
only basic SQL table generation. Subclasses need to override this method
to support schema synchronization.
createSchemaSynchronizationFactory in class JDBCPlugInJDBCPlugIn.synchronizationFactory()public NSDictionary<String,Object> jdbcInfo()
JDBCPlugIn
jdbcInfo in class JDBCPlugIn
public Object fetchBLOB(ResultSet rs,
int column,
EOAttribute attribute,
boolean materialize)
throws SQLException
JDBCPlugInnull.
fetchBLOB in class JDBCPlugInrs - 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)
SQLExceptionJDBCPlugIn.updateLOBs(com.webobjects.jdbcadaptor.JDBCChannel, com.webobjects.jdbcadaptor.JDBCExpression, com.webobjects.foundation.NSDictionary, com.webobjects.eoaccess.EOEntity)
|
Last updated Wednesday, January 23, 2008 14:25 PST | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||