SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.conf
Class SimpleJDBCConfiguration

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
All Implemented Interfaces:
java.beans.BeanInfo, Configuration, java.io.Externalizable, JDBCConfiguration, JDOConfiguration, java.io.Serializable
Direct Known Subclasses:
JDBCConnectionFactory, JDBCManagedConnectionFactory

public class SimpleJDBCConfiguration
extends SimpleJDOConfiguration
implements JDBCConfiguration

Simple implementation of the JDBCConfiguration interface.

See Also:
Serialized Form

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.kodo.conf.SimpleJDOConfiguration
checkFrozen, getClassResolver, getClassResolverClass, getClassResolverProperties, getConnectionDriverName, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionFactoryProperties, getConnectionPassword, getConnectionProperties, getConnectionURL, getConnectionUserName, getDataCache, getDataCacheClass, getDataCacheProperties, getFetchBatchSize, getFetchThreshold, getFilterListenerClasses, getFilterListeners, getIgnoreCache, getLicenseKey, getManagedRuntime, getManagedRuntimeClass, getManagedRuntimeProperties, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getOptimistic, getPersistenceManagerClass, getPersistenceManagerFactoryClass, getPersistenceManagerProperties, getProductName, getProxyManager, getProxyManagerClass, getProxyManagerProperties, getRestoreValues, getRetainValues, getUseManagedRuntime, setClassResolver, setClassResolverClass, setClassResolverProperties, setConnectionDriverName, setConnectionFactory2, setConnectionFactory2Name, setConnectionFactoryName, setConnectionFactoryProperties, setConnectionPassword, setConnectionProperties, setConnectionURL, setConnectionUserName, setDataCache, setDataCacheClass, setDataCacheProperties, setFetchBatchSize, setFetchBatchSize, setFetchThreshold, setFetchThreshold, setFilterListenerClasses, setFilterListeners, setIgnoreCache, setIgnoreCache, setLicenseKey, setManagedRuntime, setManagedRuntimeClass, setManagedRuntimeProperties, setMetaDataRepository, setMultithreaded, setMultithreaded, setNontransactionalRead, setNontransactionalRead, setNontransactionalWrite, setNontransactionalWrite, setOptimistic, setOptimistic, setPersistenceManagerClass, setPersistenceManagerFactoryClass, setPersistenceManagerProperties, setProxyManager, setProxyManagerClass, setProxyManagerProperties, setRestoreValues, setRestoreValues, setRetainValues, setRetainValues, setUseManagedRuntime, setUseManagedRuntime
 
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.kodo.conf.JDOConfiguration
getClassResolver, getClassResolverClass, getClassResolverProperties, getConnectionDriverName, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionFactoryProperties, getConnectionPassword, getConnectionProperties, getConnectionURL, getConnectionUserName, getDataCache, getDataCacheClass, getDataCacheProperties, getFetchBatchSize, getFetchThreshold, getFilterListenerClasses, getFilterListeners, getIgnoreCache, getLicenseKey, getManagedRuntime, getManagedRuntimeClass, getManagedRuntimeProperties, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getOptimistic, getPersistenceManagerClass, getPersistenceManagerFactoryClass, getPersistenceManagerProperties, getProxyManager, getProxyManagerClass, getProxyManagerProperties, getRestoreValues, getRetainValues, getUseManagedRuntime, setClassResolver, setClassResolverClass, setClassResolverProperties, setConnectionDriverName, setConnectionFactory2, setConnectionFactory2Name, setConnectionFactoryName, setConnectionFactoryProperties, setConnectionPassword, setConnectionProperties, setConnectionURL, setConnectionUserName, setDataCache, setDataCacheClass, setDataCacheProperties, setFetchBatchSize, setFetchBatchSize, setFetchThreshold, setFetchThreshold, setFilterListenerClasses, setFilterListeners, setIgnoreCache, setIgnoreCache, setLicenseKey, setManagedRuntime, setManagedRuntimeClass, setManagedRuntimeProperties, setMetaDataRepository, setMultithreaded, setMultithreaded, setNontransactionalRead, setNontransactionalRead, setNontransactionalWrite, setNontransactionalWrite, setOptimistic, setOptimistic, setPersistenceManagerClass, setPersistenceManagerFactoryClass, setPersistenceManagerProperties, setProxyManager, setProxyManagerClass, setProxyManagerProperties, setRestoreValues, setRestoreValues, setRetainValues, setRetainValues, setUseManagedRuntime, setUseManagedRuntime
 
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

dbdictionary

protected com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary dbdictionary

sequenceFactory

protected com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory sequenceFactory

mappingFactory

protected com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory mappingFactory

schemaFactory

protected com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory schemaFactory

updateManager

protected com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager updateManager

jdbcListeners

protected com.solarmetric.rd.jdbc.JDBCListener[] jdbcListeners
Constructor Detail

SimpleJDBCConfiguration

public SimpleJDBCConfiguration()
Default constructor. Attempts to load default properties from kodo.properties.


SimpleJDBCConfiguration

public SimpleJDBCConfiguration(boolean loadDefaults)
Constructor.

Parameters:
loadDefaults - whether to attempt to load the default kodo.properties resource
Method Detail

getLicense

public com.solarmetric.rd.license.License getLicense()
Override to provide JDBCCapabilities.

Specified by:
getLicense in interface JDOConfiguration
Overrides:
getLicense in class SimpleJDOConfiguration

getConnectionFactory

public java.lang.Object getConnectionFactory()
Override to create connection factory if it is not set, and to configure the factory with the supplied properties.

Specified by:
getConnectionFactory in interface JDOConfiguration
Overrides:
getConnectionFactory in class SimpleJDOConfiguration

setConnectionFactory

public void setConnectionFactory(java.lang.Object factory)
Override to configure 3rd-party sources.

Specified by:
setConnectionFactory in interface JDOConfiguration
Overrides:
setConnectionFactory in class SimpleJDOConfiguration

getMetaDataRepository

public com.solarmetric.rd.kodo.meta.JDOMetaDataRepository getMetaDataRepository()
Override to use a MappingRepository.

Specified by:
getMetaDataRepository in interface JDOConfiguration
Overrides:
getMetaDataRepository in class SimpleJDOConfiguration

getMappingRepository

public com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository getMappingRepository()
Description copied from interface: JDBCConfiguration
Return the mapping repository. Convenience method to cast from the internal metadata repository.

Specified by:
getMappingRepository in interface JDBCConfiguration

setSchemas

public void setSchemas(java.lang.String schemas)
Description copied from interface: JDBCConfiguration
Comma-separated list of modifiable schemas for JDO instances.

Specified by:
setSchemas in interface JDBCConfiguration

getSchemas

public java.lang.String getSchemas()
Description copied from interface: JDBCConfiguration
Comma-separated list of modifiable schemas for JDO instances.

Specified by:
getSchemas in interface JDBCConfiguration

setUseSQL92Joins

public void setUseSQL92Joins(boolean useSQL92Joins)
Description copied from interface: JDBCConfiguration
Whether or not to use SQL 92-style joins in queries, including left outer joins for joins in OR clauses. Defaults to true.

Specified by:
setUseSQL92Joins in interface JDBCConfiguration

setUseSQL92Joins

public void setUseSQL92Joins(java.lang.Boolean useSQL92Joins)
Description copied from interface: JDBCConfiguration
Wrapper for JCA use of JDBCConfiguration.setUseSQL92Joins(boolean).

Specified by:
setUseSQL92Joins in interface JDBCConfiguration

setJDBCListenerClasses

public void setJDBCListenerClasses(java.lang.String jdbcListenerClasses)
Description copied from interface: JDBCConfiguration
A comma-separated list of the JDBCListener classes for listening to JDBCEvents.

Specified by:
setJDBCListenerClasses in interface JDBCConfiguration

getJDBCListenerClasses

public java.lang.String getJDBCListenerClasses()
Description copied from interface: JDBCConfiguration
A comma-separated list of the JDBCListener classes for listening to JDBCEvents.

Specified by:
getJDBCListenerClasses in interface JDBCConfiguration

setJDBCListeners

public void setJDBCListeners(com.solarmetric.rd.jdbc.JDBCListener[] listeners)
Description copied from interface: JDBCConfiguration
The JDBCListeners to use.

Specified by:
setJDBCListeners in interface JDBCConfiguration

getJDBCListeners

public com.solarmetric.rd.jdbc.JDBCListener[] getJDBCListeners()
Description copied from interface: JDBCConfiguration
The JDBCListeners to use.

Specified by:
getJDBCListeners in interface JDBCConfiguration

getUseSQL92Joins

public boolean getUseSQL92Joins()
Description copied from interface: JDBCConfiguration
Whether or not to use SQL 92-style joins in queries, including left outer joins for joins in OR clauses. Defaults to true.

Specified by:
getUseSQL92Joins in interface JDBCConfiguration

setDBDictionaryClass

public void setDBDictionaryClass(java.lang.String dbdictionaryClass)
Description copied from interface: JDBCConfiguration
The DBDictionary class to use to define the RDBMS SQL information.

Specified by:
setDBDictionaryClass in interface JDBCConfiguration

getDBDictionaryClass

public java.lang.String getDBDictionaryClass()
Description copied from interface: JDBCConfiguration
The DBDictionary class to use to define the RDBMS SQL information.

Specified by:
getDBDictionaryClass in interface JDBCConfiguration

setDBDictionaryProperties

public void setDBDictionaryProperties(java.lang.String dbdictionaryProperties)
Description copied from interface: JDBCConfiguration
Configuration options for the DBDictionary.

Specified by:
setDBDictionaryProperties in interface JDBCConfiguration

getDBDictionaryProperties

public java.lang.String getDBDictionaryProperties()
Description copied from interface: JDBCConfiguration
Configuration options for the DBDictionary.

Specified by:
getDBDictionaryProperties in interface JDBCConfiguration

setDBDictionary

public void setDBDictionary(com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary dbdictionary)
Description copied from interface: JDBCConfiguration
The DBDictionary to use.

Specified by:
setDBDictionary in interface JDBCConfiguration

getDBDictionary

public com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary getDBDictionary()
Description copied from interface: JDBCConfiguration
The DBDictionary to use.

Specified by:
getDBDictionary in interface JDBCConfiguration

setSequenceFactoryClass

public void setSequenceFactoryClass(java.lang.String sequenceFactoryClass)
Description copied from interface: JDBCConfiguration
The class name of the SequenceFactory implementation.

Specified by:
setSequenceFactoryClass in interface JDBCConfiguration

getSequenceFactoryClass

public java.lang.String getSequenceFactoryClass()
Description copied from interface: JDBCConfiguration
The class name of the SequenceFactory implementation.

Specified by:
getSequenceFactoryClass in interface JDBCConfiguration

setSequenceFactoryProperties

public void setSequenceFactoryProperties(java.lang.String sequenceFactoryProperties)
Description copied from interface: JDBCConfiguration
Configuration properties for the SequenceFactory.

Specified by:
setSequenceFactoryProperties in interface JDBCConfiguration

getSequenceFactoryProperties

public java.lang.String getSequenceFactoryProperties()
Description copied from interface: JDBCConfiguration
Configuration properties for the SequenceFactory.

Specified by:
getSequenceFactoryProperties in interface JDBCConfiguration

setSequenceFactory

public void setSequenceFactory(com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory sequenceFactory)
Description copied from interface: JDBCConfiguration
The SequenceFactory to use.

Specified by:
setSequenceFactory in interface JDBCConfiguration

getSequenceFactory

public com.solarmetric.rd.kodo.impl.jdbc.schema.SequenceFactory getSequenceFactory()
Description copied from interface: JDBCConfiguration
The SequenceFactory to use.

Specified by:
getSequenceFactory in interface JDBCConfiguration

setUpdateManagerClass

public void setUpdateManagerClass(java.lang.String updateManagerClass)
Description copied from interface: JDBCConfiguration
The UpdateManager class to use for managing SQL updates.

Specified by:
setUpdateManagerClass in interface JDBCConfiguration

getUpdateManagerClass

public java.lang.String getUpdateManagerClass()
Description copied from interface: JDBCConfiguration
The UpdateManager class to use for managing SQL updates.

Specified by:
getUpdateManagerClass in interface JDBCConfiguration

setUpdateManagerProperties

public void setUpdateManagerProperties(java.lang.String updateManagerProperties)
Description copied from interface: JDBCConfiguration
Configuration properties for the UpdateManager.

Specified by:
setUpdateManagerProperties in interface JDBCConfiguration

getUpdateManagerProperties

public java.lang.String getUpdateManagerProperties()
Description copied from interface: JDBCConfiguration
Configuration properties for the UpdateManager.

Specified by:
getUpdateManagerProperties in interface JDBCConfiguration

setUpdateManager

public void setUpdateManager(com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager updateManager)
Description copied from interface: JDBCConfiguration
The UpdateManager for runtime data store interaction.

Specified by:
setUpdateManager in interface JDBCConfiguration

getUpdateManager

public com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManager getUpdateManager()
Description copied from interface: JDBCConfiguration
The UpdateManager for runtime data store interaction.

Specified by:
getUpdateManager in interface JDBCConfiguration

setMappingFactoryClass

public void setMappingFactoryClass(java.lang.String mappingFactoryClass)
Description copied from interface: JDBCConfiguration
The class name of the MappingFactory to use in creating the O-R mappings. Defaults to the DBMappingFactory.

Specified by:
setMappingFactoryClass in interface JDBCConfiguration

getMappingFactoryClass

public java.lang.String getMappingFactoryClass()
Description copied from interface: JDBCConfiguration
The class name of the MappingFactory to use in creating the O-R mappings. Defaults to the DBMappingFactory.

Specified by:
getMappingFactoryClass in interface JDBCConfiguration

setMappingFactoryProperties

public void setMappingFactoryProperties(java.lang.String mappingFactoryProperties)
Description copied from interface: JDBCConfiguration
Properties of the MappingFactory.

Specified by:
setMappingFactoryProperties in interface JDBCConfiguration

getMappingFactoryProperties

public java.lang.String getMappingFactoryProperties()
Description copied from interface: JDBCConfiguration
Properties of the MappingFactory.

Specified by:
getMappingFactoryProperties in interface JDBCConfiguration

setMappingFactory

public void setMappingFactory(com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory mappingFactory)
Description copied from interface: JDBCConfiguration
The MappingFactory to use for O-R mapping.

Specified by:
setMappingFactory in interface JDBCConfiguration

getMappingFactory

public com.solarmetric.rd.kodo.impl.jdbc.meta.MappingFactory getMappingFactory()
Description copied from interface: JDBCConfiguration
The MappingFactory to use for O-R mapping.

Specified by:
getMappingFactory in interface JDBCConfiguration

setSchemaFactoryClass

public void setSchemaFactoryClass(java.lang.String schemaFactoryClass)
Description copied from interface: JDBCConfiguration
The class name of the SchemaFactory to use to provide schema information during system initialization. Defaults to the LazySchemaFactory.

Specified by:
setSchemaFactoryClass in interface JDBCConfiguration

getSchemaFactoryClass

public java.lang.String getSchemaFactoryClass()
Description copied from interface: JDBCConfiguration
The class name of the SchemaFactory to use to provide schema information during system initialization. Defaults to the LazySchemaFactory.

Specified by:
getSchemaFactoryClass in interface JDBCConfiguration

setSchemaFactoryProperties

public void setSchemaFactoryProperties(java.lang.String schemaFactoryProperties)
Description copied from interface: JDBCConfiguration
Properties of the SchemaFactory.

Specified by:
setSchemaFactoryProperties in interface JDBCConfiguration

getSchemaFactoryProperties

public java.lang.String getSchemaFactoryProperties()
Description copied from interface: JDBCConfiguration
Properties of the SchemaFactory.

Specified by:
getSchemaFactoryProperties in interface JDBCConfiguration

setSchemaFactory

public void setSchemaFactory(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory schemaFactory)
Description copied from interface: JDBCConfiguration
The SchemaFactory to use for schema information.

Specified by:
setSchemaFactory in interface JDBCConfiguration

getSchemaFactory

public com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaFactory getSchemaFactory()
Description copied from interface: JDBCConfiguration
The SchemaFactory to use for schema information.

Specified by:
getSchemaFactory in interface JDBCConfiguration

setVersionIndicatorType

public void setVersionIndicatorType(java.lang.String versionIndicatorType)
Description copied from interface: JDBCConfiguration
The full class or type name of the VersionIndicator to use when creating new class mappings. Defaults to version-number.

Specified by:
setVersionIndicatorType in interface JDBCConfiguration

getVersionIndicatorType

public java.lang.String getVersionIndicatorType()
Description copied from interface: JDBCConfiguration
The full class or type name of the VersionIndicator to use when creating new class mappings. Defaults to version-number.

Specified by:
getVersionIndicatorType in interface JDBCConfiguration

setClassIndicatorType

public void setClassIndicatorType(java.lang.String classIndicatorType)
Description copied from interface: JDBCConfiguration
The full class or type name of the ClassIndicator to use when creating new class mappings. Defaults to in-class-name.

Specified by:
setClassIndicatorType in interface JDBCConfiguration

getClassIndicatorType

public java.lang.String getClassIndicatorType()
Description copied from interface: JDBCConfiguration
The full class or type name of the ClassIndicator to use when creating new class mappings. Defaults to in-class-name.

Specified by:
getClassIndicatorType in interface JDBCConfiguration

setSubclassMappingType

public void setSubclassMappingType(java.lang.String subclassMappingType)
Description copied from interface: JDBCConfiguration
The full class or type name of the ClassMapping to use when mapping subclasses. Defaults to flat.

Specified by:
setSubclassMappingType in interface JDBCConfiguration

getSubclassMappingType

public java.lang.String getSubclassMappingType()
Description copied from interface: JDBCConfiguration
The full class or type name of the ClassMapping to use when mapping subclasses. Defaults to flat.

Specified by:
getSubclassMappingType in interface JDBCConfiguration

disableConnectionPooling

public void disableConnectionPooling()
Disables connection pooling if the solarmetric data source is being used. This is useful for command-line tools that don't require pooling, and may not be able to exit cleanly if pooling threads are enabled.


free

public void free()
Description copied from interface: Configuration
Free the resources used by this object.

Specified by:
free in interface Configuration
Overrides:
free in class SimpleJDOConfiguration

getDefaultPersistenceManagerFactoryClass

protected java.lang.Class getDefaultPersistenceManagerFactoryClass()
Description copied from class: SimpleJDOConfiguration
Return the class of the persistence manager factory for this runtime.

Overrides:
getDefaultPersistenceManagerFactoryClass in class SimpleJDOConfiguration

getKnownDriverList

protected java.lang.String[] getKnownDriverList()
Description copied from class: SimpleJDOConfiguration
Allows a subclass to provide a list of example drivers, for use in a graphical component.

Overrides:
getKnownDriverList in class SimpleJDOConfiguration

getKnownConnectionURLList

protected java.lang.String[] getKnownConnectionURLList()
Description copied from class: SimpleJDOConfiguration
Allows a subclass to provide a list of example drivers, for use in a graphical component.

Overrides:
getKnownConnectionURLList in class SimpleJDOConfiguration

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.