|
WebObjects 5.4.2 | ||||||||
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.MicrosoftPlugIn
public class MicrosoftPlugIn
Nested Class Summary | |
---|---|
static class |
MicrosoftPlugIn.MicrosoftExpression
|
static class |
MicrosoftPlugIn.MicrosoftSynchronizationFactory
|
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 | |
---|---|
MicrosoftPlugIn(JDBCAdaptor adaptor)
|
Method Summary | |
---|---|
String |
connectionURL()
Returns the JDBC URL to use for connecting to the database. |
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. |
boolean |
isDroppedConnectionException(JDBCAdaptorException exception)
Returns true if exception is considered a
"dropped" connection; otherwise false . |
NSDictionary |
jdbcInfo()
Returns database-specific information about the JDBC data source. |
String |
name()
Returns the plugin's name. |
String |
newPrimaryKeySelectString(String pkTableName,
String entityRootName)
The statement for selecting the primary key for a given entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MicrosoftPlugIn(JDBCAdaptor adaptor)
Method Detail |
---|
public String name()
JDBCPlugIn
name
in class JDBCPlugIn
public String defaultDriverName()
JDBCPlugIn
defaultDriverName
in class JDBCPlugIn
public String databaseProductName()
JDBCPlugIn
databaseProductName
in class JDBCPlugIn
public String connectionURL()
JDBCPlugIn
connectionURL
in class JDBCPlugIn
JDBCAdaptor.connectionDictionaryURL()
public Class defaultExpressionClass()
JDBCPlugIn
defaultExpressionClass
in class JDBCPlugIn
JDBCExpression
,
JDBCAdaptor.defaultExpressionClass()
public EOSchemaSynchronizationFactory createSchemaSynchronizationFactory()
JDBCPlugIn
adaptor()
. The default EOSynchronizationFactory supports
only basic SQL table generation. Subclasses need to override this method
to support schema synchronization.
createSchemaSynchronizationFactory
in class JDBCPlugIn
JDBCPlugIn.synchronizationFactory()
public NSDictionary jdbcInfo()
JDBCPlugIn
jdbcInfo
in class JDBCPlugIn
public String newPrimaryKeySelectString(String pkTableName, String entityRootName)
JDBCPlugIn
SELECT PK FROM EO_PK_TABLE WHERE NAME = 'MOVIE' FOR UPDATE
newPrimaryKeySelectString
in class JDBCPlugIn
public boolean isDroppedConnectionException(JDBCAdaptorException exception)
JDBCPlugIn
true
if exception
is considered a
"dropped" connection; otherwise false
. The adaptor will
try to reconnect automatically from a dropped connection. The decision is
based on the SQLState
of the underlying SQLException that
is wrapped by the JDBCAdaptorException. For any other type of Exception,
this method returns false
.
isDroppedConnectionException
in class JDBCPlugIn
true
if exception
is a "dropped"
connection; otherwise false
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |