ERH2PlugIn Class Reference

Inherits com::webobjects::jdbcadaptor::JDBCPlugIn.

Inherited by H2PlugIn.

Collaboration diagram for ERH2PlugIn:

Collaboration graph
[legend]

List of all members.

Classes

class  H2Expression
class  H2SynchronizationFactory

Public Member Functions

EOSynchronizationFactory createSynchronizationFactory ()
String databaseProductName ()
String defaultDriverName ()
Class defaultExpressionClass ()
 ERH2PlugIn (final JDBCAdaptor adaptor)
NSDictionary jdbcInfo ()
String name ()

Protected Member Functions

boolean shouldUseBundledJdbcInfo ()

Static Protected Member Functions

static String quoteTableName (String name)

Static Package Functions

static String singleQuotedString (String string)
static String singleQuotedString (Object value)

Static Package Attributes

static final boolean USE_NAMED_CONSTRAINTS = true

Static Private Member Functions

static Format dateFormatter ()
static Format timestampFormatter ()

Private Attributes

volatile boolean testedJdbcInfo

Static Private Attributes

static final String DRIVER_CLASS_NAME = "org.h2.Driver"
static final String DRIVER_NAME = "H2"


Constructor & Destructor Documentation

ERH2PlugIn ( final JDBCAdaptor  adaptor  ) 


Member Function Documentation

EOSynchronizationFactory createSynchronizationFactory (  ) 

String databaseProductName (  ) 

static Format dateFormatter (  )  [static, private]

formatter to use when handling date columns

String defaultDriverName (  ) 

Class defaultExpressionClass (  ) 

NSDictionary jdbcInfo (  ) 

This is usually extracted from the the database using JDBC, but this is really inconvenient for users who are trying to generate SQL at some. A specific version of the data has been written into the property list of the framework and this can be used as a hard-coded equivalent.

Provide system property h2.updateJDBCInfo=true to cause H2JDBCInfo.plist to be written out to the platform temp dir.

String name (  ) 

static String quoteTableName ( String  name  )  [static, protected]

boolean shouldUseBundledJdbcInfo (  )  [protected]

This method returns true by default unless the connection URL for the database has useBundledJdbcInfo=false on it which indicates to the system that the jdbcInfo which has been bundled into the plugin is not acceptable to use and instead it should fetch a fresh copy from the database.

static String singleQuotedString ( String  string  )  [static, package]

static String singleQuotedString ( Object  value  )  [static, package]

static Format timestampFormatter (  )  [static, private]

formatter to use when handling timestamps


Member Data Documentation

final String DRIVER_CLASS_NAME = "org.h2.Driver" [static, private]

final String DRIVER_NAME = "H2" [static, private]

volatile boolean testedJdbcInfo [private]

flag for whether jdbcInfo should be written out has been tested.

final boolean USE_NAMED_CONSTRAINTS = true [static, package]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:18 2012 for Project Wonder by  doxygen 1.5.8