|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.conf.AbstractConfiguration
|
+--com.solarmetric.rd.conf.SimpleConfiguration
|
+--com.solarmetric.rd.kodo.conf.SimpleJDOConfiguration
|
+--com.solarmetric.rd.kodo.impl.jdbc.conf.SimpleJDBCConfiguration
Simple implementation of the JDBCConfiguration interface.
| Field Summary | |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary |
dbdictionary
|
protected com.solarmetric.rd.jdbc.JDBCListener[] |
jdbcListeners
|
protected com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory |
mappingFactory
|
protected com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory |
schemaFactory
|
protected com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory |
sequenceFactory
|
protected com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager |
updateManager
|
| Fields inherited from class com.solarmetric.rd.kodo.conf.SimpleJDOConfiguration |
BASIC_OPTION, classResolver, connectionFactory, connectionFactory2, dataCache, EXPERT_OPTION, filterListeners, license, managedRuntime, metaRepos, proxyManager, TYPE_CONNECTING, TYPE_GENERAL, TYPE_JDO, TYPE_OPTIMIZATION |
| Fields inherited from class com.solarmetric.rd.conf.SimpleConfiguration |
logFactory |
| Fields inherited from interface com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration |
LOG_JDBC, LOG_SCHEMA, LOG_SQL |
| Fields inherited from interface com.solarmetric.rd.kodo.conf.JDOConfiguration |
LOG_DATACACHE, LOG_ENHANCE, LOG_METADATA, LOG_RUNTIME |
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
SimpleJDBCConfiguration()
Default constructor. |
|
SimpleJDBCConfiguration(boolean loadDefaults)
Constructor. |
|
| Method Summary | |
void |
disableConnectionPooling()
Disables connection pooling if the solarmetric data source is being used. |
void |
free()
Free the resources used by this object. |
java.lang.String |
getClassIndicatorType()
The full class or type name of the ClassIndicator
to use when creating new class mappings. |
java.lang.Object |
getConnectionFactory()
Override to create connection factory if it is not set, and to configure the factory with the supplied properties. |
com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary |
getDBDictionary()
The DBDictionary to use. |
java.lang.String |
getDBDictionaryClass()
The DBDictionary class to use to define the RDBMS SQL
information. |
java.lang.String |
getDBDictionaryProperties()
Configuration options for the DBDictionary. |
protected java.lang.Class |
getDefaultPersistenceManagerFactoryClass()
Return the class of the persistence manager factory for this runtime. |
java.lang.String |
getJDBCListenerClasses()
A comma-separated list of the JDBCListener classes for
listening to JDBCEvents. |
com.solarmetric.rd.jdbc.JDBCListener[] |
getJDBCListeners()
The JDBCListeners to use. |
protected java.lang.String[] |
getKnownConnectionURLList()
Allows a subclass to provide a list of example drivers, for use in a graphical component. |
protected java.lang.String[] |
getKnownDriverList()
Allows a subclass to provide a list of example drivers, for use in a graphical component. |
com.solarmetric.rd.license.License |
getLicense()
Override to provide JDBCCapabilities. |
com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory |
getMappingFactory()
The MappingFactory to use for O-R mapping. |
java.lang.String |
getMappingFactoryClass()
The class name of the MappingFactory to use in creating the
O-R mappings. |
java.lang.String |
getMappingFactoryProperties()
Properties of the MappingFactory. |
com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository |
getMappingRepository()
Return the mapping repository. |
com.solarmetric.rd.kodo.meta.JDOMetaDataRepository |
getMetaDataRepository()
Override to use a MappingRepository. |
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory |
getSchemaFactory()
The SchemaFactory to use for schema information. |
java.lang.String |
getSchemaFactoryClass()
The class name of the SchemaFactory to use to provide
schema information during system initialization. |
java.lang.String |
getSchemaFactoryProperties()
Properties of the SchemaFactory. |
java.lang.String |
getSchemas()
Comma-separated list of modifiable schemas for JDO instances. |
com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory |
getSequenceFactory()
The SequenceFactory to use. |
java.lang.String |
getSequenceFactoryClass()
The class name of the SequenceFactory implementation. |
java.lang.String |
getSequenceFactoryProperties()
Configuration properties for the SequenceFactory. |
java.lang.String |
getSubclassMappingType()
The full class or type name of the ClassMapping
to use when mapping subclasses. |
com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager |
getUpdateManager()
The UpdateManager for runtime data store interaction. |
java.lang.String |
getUpdateManagerClass()
The UpdateManager class to use for managing SQL updates. |
java.lang.String |
getUpdateManagerProperties()
Configuration properties for the UpdateManager. |
boolean |
getUseSQL92Joins()
Whether or not to use SQL 92-style joins in queries, including left outer joins for joins in OR clauses. |
java.lang.String |
getVersionIndicatorType()
The full class or type name of the VersionIndicator
to use when creating new class mappings. |
void |
setClassIndicatorType(java.lang.String classIndicatorType)
The full class or type name of the ClassIndicator
to use when creating new class mappings. |
void |
setConnectionFactory(java.lang.Object factory)
Override to configure 3rd-party sources. |
void |
setDBDictionary(com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary dbdictionary)
The DBDictionary to use. |
void |
setDBDictionaryClass(java.lang.String dbdictionaryClass)
The DBDictionary class to use to define the RDBMS SQL
information. |
void |
setDBDictionaryProperties(java.lang.String dbdictionaryProperties)
Configuration options for the DBDictionary. |
void |
setJDBCListenerClasses(java.lang.String jdbcListenerClasses)
A comma-separated list of the JDBCListener classes for
listening to JDBCEvents. |
void |
setJDBCListeners(com.solarmetric.rd.jdbc.JDBCListener[] listeners)
The JDBCListeners to use. |
void |
setMappingFactory(com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory mappingFactory)
The MappingFactory to use for O-R mapping. |
void |
setMappingFactoryClass(java.lang.String mappingFactoryClass)
The class name of the MappingFactory to use in creating the
O-R mappings. |
void |
setMappingFactoryProperties(java.lang.String mappingFactoryProperties)
Properties of the MappingFactory. |
void |
setSchemaFactory(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory schemaFactory)
The SchemaFactory to use for schema information. |
void |
setSchemaFactoryClass(java.lang.String schemaFactoryClass)
The class name of the SchemaFactory to use to provide
schema information during system initialization. |
void |
setSchemaFactoryProperties(java.lang.String schemaFactoryProperties)
Properties of the SchemaFactory. |
void |
setSchemas(java.lang.String schemas)
Comma-separated list of modifiable schemas for JDO instances. |
void |
setSequenceFactory(com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory sequenceFactory)
The SequenceFactory to use. |
void |
setSequenceFactoryClass(java.lang.String sequenceFactoryClass)
The class name of the SequenceFactory implementation. |
void |
setSequenceFactoryProperties(java.lang.String sequenceFactoryProperties)
Configuration properties for the SequenceFactory. |
void |
setSubclassMappingType(java.lang.String subclassMappingType)
The full class or type name of the ClassMapping
to use when mapping subclasses. |
void |
setUpdateManager(com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager updateManager)
The UpdateManager for runtime data store interaction. |
void |
setUpdateManagerClass(java.lang.String updateManagerClass)
The UpdateManager class to use for managing SQL updates. |
void |
setUpdateManagerProperties(java.lang.String updateManagerProperties)
Configuration properties for the UpdateManager. |
void |
setUseSQL92Joins(boolean useSQL92Joins)
Whether or not to use SQL 92-style joins in queries, including left outer joins for joins in OR clauses. |
void |
setUseSQL92Joins(java.lang.Boolean useSQL92Joins)
Wrapper for JCA use of setUseSQL92Joins(boolean). |
void |
setVersionIndicatorType(java.lang.String versionIndicatorType)
The full class or type name of the VersionIndicator
to use when creating new class mappings. |
| Methods inherited from class com.solarmetric.rd.conf.SimpleConfiguration |
addValue, addValue, addValue, addValue, addValue, addValue, addValue, getLog, getLogFactory, getValues, setLog, setLogFactory |
| Methods inherited from class com.solarmetric.rd.conf.AbstractConfiguration |
equals, fromProperties, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, hashCode, isFrozen, loadDefaults, readExternal, setFrozen, setProperties, toProperties, writeExternal |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.solarmetric.rd.conf.Configuration |
fromProperties, getLog, getLogFactory, isFrozen, setFrozen, setLog, setLogFactory, toProperties |
| Methods inherited from interface java.beans.BeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors |
| Field Detail |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary dbdictionary
protected com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory sequenceFactory
protected com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory mappingFactory
protected com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory schemaFactory
protected com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager updateManager
protected com.solarmetric.rd.jdbc.JDBCListener[] jdbcListeners
| Constructor Detail |
public SimpleJDBCConfiguration()
kodo.properties.
public SimpleJDBCConfiguration(boolean loadDefaults)
loadDefaults - whether to attempt to load the default
kodo.properties resource| Method Detail |
public com.solarmetric.rd.license.License getLicense()
JDBCCapabilities.
getLicense in interface JDOConfigurationgetLicense in class SimpleJDOConfigurationpublic java.lang.Object getConnectionFactory()
getConnectionFactory in interface JDOConfigurationgetConnectionFactory in class SimpleJDOConfigurationpublic void setConnectionFactory(java.lang.Object factory)
setConnectionFactory in interface JDOConfigurationsetConnectionFactory in class SimpleJDOConfigurationpublic com.solarmetric.rd.kodo.meta.JDOMetaDataRepository getMetaDataRepository()
MappingRepository.
getMetaDataRepository in interface JDOConfigurationgetMetaDataRepository in class SimpleJDOConfigurationpublic com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository getMappingRepository()
JDBCConfiguration
getMappingRepository in interface JDBCConfigurationpublic void setSchemas(java.lang.String schemas)
JDBCConfiguration
setSchemas in interface JDBCConfigurationpublic java.lang.String getSchemas()
JDBCConfiguration
getSchemas in interface JDBCConfigurationpublic void setUseSQL92Joins(boolean useSQL92Joins)
JDBCConfiguration
setUseSQL92Joins in interface JDBCConfigurationpublic void setUseSQL92Joins(java.lang.Boolean useSQL92Joins)
JDBCConfigurationJDBCConfiguration.setUseSQL92Joins(boolean).
setUseSQL92Joins in interface JDBCConfigurationpublic void setJDBCListenerClasses(java.lang.String jdbcListenerClasses)
JDBCConfigurationJDBCListener classes for
listening to JDBCEvents.
setJDBCListenerClasses in interface JDBCConfigurationpublic java.lang.String getJDBCListenerClasses()
JDBCConfigurationJDBCListener classes for
listening to JDBCEvents.
getJDBCListenerClasses in interface JDBCConfigurationpublic void setJDBCListeners(com.solarmetric.rd.jdbc.JDBCListener[] listeners)
JDBCConfigurationJDBCListeners to use.
setJDBCListeners in interface JDBCConfigurationpublic com.solarmetric.rd.jdbc.JDBCListener[] getJDBCListeners()
JDBCConfigurationJDBCListeners to use.
getJDBCListeners in interface JDBCConfigurationpublic boolean getUseSQL92Joins()
JDBCConfiguration
getUseSQL92Joins in interface JDBCConfigurationpublic void setDBDictionaryClass(java.lang.String dbdictionaryClass)
JDBCConfigurationDBDictionary class to use to define the RDBMS SQL
information.
setDBDictionaryClass in interface JDBCConfigurationpublic java.lang.String getDBDictionaryClass()
JDBCConfigurationDBDictionary class to use to define the RDBMS SQL
information.
getDBDictionaryClass in interface JDBCConfigurationpublic void setDBDictionaryProperties(java.lang.String dbdictionaryProperties)
JDBCConfigurationDBDictionary.
setDBDictionaryProperties in interface JDBCConfigurationpublic java.lang.String getDBDictionaryProperties()
JDBCConfigurationDBDictionary.
getDBDictionaryProperties in interface JDBCConfigurationpublic void setDBDictionary(com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary dbdictionary)
JDBCConfigurationDBDictionary to use.
setDBDictionary in interface JDBCConfigurationpublic com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary getDBDictionary()
JDBCConfigurationDBDictionary to use.
getDBDictionary in interface JDBCConfigurationpublic void setSequenceFactoryClass(java.lang.String sequenceFactoryClass)
JDBCConfigurationSequenceFactory implementation.
setSequenceFactoryClass in interface JDBCConfigurationpublic java.lang.String getSequenceFactoryClass()
JDBCConfigurationSequenceFactory implementation.
getSequenceFactoryClass in interface JDBCConfigurationpublic void setSequenceFactoryProperties(java.lang.String sequenceFactoryProperties)
JDBCConfigurationSequenceFactory.
setSequenceFactoryProperties in interface JDBCConfigurationpublic java.lang.String getSequenceFactoryProperties()
JDBCConfigurationSequenceFactory.
getSequenceFactoryProperties in interface JDBCConfigurationpublic void setSequenceFactory(com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory sequenceFactory)
JDBCConfigurationSequenceFactory to use.
setSequenceFactory in interface JDBCConfigurationpublic com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory getSequenceFactory()
JDBCConfigurationSequenceFactory to use.
getSequenceFactory in interface JDBCConfigurationpublic void setUpdateManagerClass(java.lang.String updateManagerClass)
JDBCConfigurationUpdateManager class to use for managing SQL updates.
setUpdateManagerClass in interface JDBCConfigurationpublic java.lang.String getUpdateManagerClass()
JDBCConfigurationUpdateManager class to use for managing SQL updates.
getUpdateManagerClass in interface JDBCConfigurationpublic void setUpdateManagerProperties(java.lang.String updateManagerProperties)
JDBCConfigurationUpdateManager.
setUpdateManagerProperties in interface JDBCConfigurationpublic java.lang.String getUpdateManagerProperties()
JDBCConfigurationUpdateManager.
getUpdateManagerProperties in interface JDBCConfigurationpublic void setUpdateManager(com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager updateManager)
JDBCConfigurationUpdateManager for runtime data store interaction.
setUpdateManager in interface JDBCConfigurationpublic com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager getUpdateManager()
JDBCConfigurationUpdateManager for runtime data store interaction.
getUpdateManager in interface JDBCConfigurationpublic void setMappingFactoryClass(java.lang.String mappingFactoryClass)
JDBCConfigurationMappingFactory to use in creating the
O-R mappings. Defaults to the DBMappingFactory.
setMappingFactoryClass in interface JDBCConfigurationpublic java.lang.String getMappingFactoryClass()
JDBCConfigurationMappingFactory to use in creating the
O-R mappings. Defaults to the DBMappingFactory.
getMappingFactoryClass in interface JDBCConfigurationpublic void setMappingFactoryProperties(java.lang.String mappingFactoryProperties)
JDBCConfigurationMappingFactory.
setMappingFactoryProperties in interface JDBCConfigurationpublic java.lang.String getMappingFactoryProperties()
JDBCConfigurationMappingFactory.
getMappingFactoryProperties in interface JDBCConfigurationpublic void setMappingFactory(com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory mappingFactory)
JDBCConfigurationMappingFactory to use for O-R mapping.
setMappingFactory in interface JDBCConfigurationpublic com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory getMappingFactory()
JDBCConfigurationMappingFactory to use for O-R mapping.
getMappingFactory in interface JDBCConfigurationpublic void setSchemaFactoryClass(java.lang.String schemaFactoryClass)
JDBCConfigurationSchemaFactory to use to provide
schema information during system initialization.
Defaults to the LazySchemaFactory.
setSchemaFactoryClass in interface JDBCConfigurationpublic java.lang.String getSchemaFactoryClass()
JDBCConfigurationSchemaFactory to use to provide
schema information during system initialization.
Defaults to the LazySchemaFactory.
getSchemaFactoryClass in interface JDBCConfigurationpublic void setSchemaFactoryProperties(java.lang.String schemaFactoryProperties)
JDBCConfigurationSchemaFactory.
setSchemaFactoryProperties in interface JDBCConfigurationpublic java.lang.String getSchemaFactoryProperties()
JDBCConfigurationSchemaFactory.
getSchemaFactoryProperties in interface JDBCConfigurationpublic void setSchemaFactory(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory schemaFactory)
JDBCConfigurationSchemaFactory to use for schema information.
setSchemaFactory in interface JDBCConfigurationpublic com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory getSchemaFactory()
JDBCConfigurationSchemaFactory to use for schema information.
getSchemaFactory in interface JDBCConfigurationpublic void setVersionIndicatorType(java.lang.String versionIndicatorType)
JDBCConfigurationVersionIndicator
to use when creating new class mappings.
Defaults to version-number.
setVersionIndicatorType in interface JDBCConfigurationpublic java.lang.String getVersionIndicatorType()
JDBCConfigurationVersionIndicator
to use when creating new class mappings.
Defaults to version-number.
getVersionIndicatorType in interface JDBCConfigurationpublic void setClassIndicatorType(java.lang.String classIndicatorType)
JDBCConfigurationClassIndicator
to use when creating new class mappings.
Defaults to in-class-name.
setClassIndicatorType in interface JDBCConfigurationpublic java.lang.String getClassIndicatorType()
JDBCConfigurationClassIndicator
to use when creating new class mappings.
Defaults to in-class-name.
getClassIndicatorType in interface JDBCConfigurationpublic void setSubclassMappingType(java.lang.String subclassMappingType)
JDBCConfigurationClassMapping
to use when mapping subclasses.
Defaults to flat.
setSubclassMappingType in interface JDBCConfigurationpublic java.lang.String getSubclassMappingType()
JDBCConfigurationClassMapping
to use when mapping subclasses.
Defaults to flat.
getSubclassMappingType in interface JDBCConfigurationpublic void disableConnectionPooling()
public void free()
Configuration
free in interface Configurationfree in class SimpleJDOConfigurationprotected java.lang.Class getDefaultPersistenceManagerFactoryClass()
SimpleJDOConfiguration
getDefaultPersistenceManagerFactoryClass in class SimpleJDOConfigurationprotected java.lang.String[] getKnownDriverList()
SimpleJDOConfiguration
getKnownDriverList in class SimpleJDOConfigurationprotected java.lang.String[] getKnownConnectionURLList()
SimpleJDOConfiguration
getKnownConnectionURLList in class SimpleJDOConfiguration
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||