|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.solarmetric.conf.ConfigurationImpl | +--kodo.conf.JDOConfigurationImpl | +--kodo.jdbc.conf.JDBCConfigurationImpl
Default implementation of the JDBCConfiguration
interface.
Fields inherited from class com.solarmetric.conf.ConfigurationImpl |
logFactory |
Fields inherited from interface kodo.jdbc.conf.JDBCConfiguration |
LOG_JDBC, LOG_SCHEMA, LOG_SQL |
Fields inherited from interface com.solarmetric.conf.Configuration |
ATTRIBUTE_ALLOWED_VALUES, ATTRIBUTE_CATEGORY, ATTRIBUTE_ORDER, ATTRIBUTE_TYPE |
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
JDBCConfigurationImpl()
Default constructor. |
|
JDBCConfigurationImpl(boolean loadDefaults)
Constructor. |
|
JDBCConfigurationImpl(JDBCConfiguration conf)
Copy constructor |
Method Summary | |
void |
close()
Free the data sources. |
protected com.solarmetric.license.Capabilities |
createCapabilities()
Create a new Capabilities for this license type. |
String |
getClassIndicator()
The ClassIndicator to use when creating new class mappings. |
ConnectionDecorator[] |
getConnectionDecoratorInstances()
The ConnectionDecorator s to use. |
String |
getConnectionDecorators()
A comma-separated list of the ConnectionDecorator for adding
functionality to JDBC connections. |
Object |
getConnectionFactory()
The connection factory, possibly from JNDI. |
Object |
getConnectionFactory2()
The non-XA connection factory. |
DataSource |
getDataSource(KodoPersistenceManager pm)
Return the primary data source to use. |
DataSource |
getDataSource2(KodoPersistenceManager pm)
Return the non-xa data source to use. |
String |
getDataSourceMode()
The mode of the JDBC data source in use. |
String |
getDBDictionary()
The DBDictionary to use to define the RDBMS SQL
information. |
DBDictionary |
getDBDictionaryInstance()
The DBDictionary to use. |
String |
getFetchDirection()
The JDBC fetch direction. |
int |
getFetchDirectionConstant()
Return the result set constant for the fetch direction. |
boolean |
getForeignKeyConstraints()
Whether Kodo will order SQL inserts, updates, and deletes to meet foreign key constraints. |
JDBCListener[] |
getJDBCListenerInstances()
The JDBCListener s to use. |
String |
getJDBCListeners()
A comma-separated list of the JDBCListener plugins for
listening to JDBCEvent s. |
String |
getLRSSize()
How to obtain the size of large result sets. |
int |
getLRSSizeConstant()
Return the JDBCFetchConfiguration constant for the large
result set size setting. |
String |
getMappingFactory()
The plugin string for the MappingFactory to use in creating the
O-R mappings. |
MappingFactory |
getMappingFactoryInstance()
The MappingFactory to use for O-R mapping. |
MappingRepository |
getMappingRepository()
Return the mapping repository. |
JDOMetaDataRepository |
getMetaDataRepository()
The metadata repository of managed class information. |
String |
getResultSetType()
The JDBC result set type. |
int |
getResultSetTypeConstant()
Return the result set constant for the result set type. |
String |
getSchemaFactory()
The plugin string for the SchemaFactory to use to provide
schema information during system initialization. |
SchemaFactory |
getSchemaFactoryInstance()
The SchemaFactory to use for schema information. |
String |
getSchemas()
Comma-separated list of modifiable schemas for JDO instances. |
String[] |
getSchemasList()
Modificable schema components. |
String |
getSequenceFactory()
The plugin string for the SequenceFactory implementation. |
SequenceFactory |
getSequenceFactoryInstance()
The SequenceFactory to use. |
String |
getSubclassMapping()
The ClassMapping to use when mapping subclasses. |
String |
getSynchronizeMappings()
Whether Kodo should try to automatically refresh O/R mapping information and the database schema. |
String |
getTransactionIsolation()
The transaction isolation level to use at the database level. |
int |
getTransactionIsolationConstant()
Return the proper transaction isolation level constant from Connection , or -1 for the default level. |
String |
getUpdateManager()
The UpdateManager to use for managing SQL updates. |
UpdateManager |
getUpdateManagerInstance()
The UpdateManager for runtime data store interaction. |
String |
getVersionIndicator()
The VersionIndicator to use when creating new class mappings. |
boolean |
isDataSourceModeEnlisted()
Whether the data source is automatically enlisted in global transactions. |
protected boolean |
isInvalidProperty(String propName)
Returns true if the specified property name should raise a warning if it is not found in the list of known properties. |
void |
setClassIndicator(String classIndicator)
The full class or type name of the ClassIndicator
to use when creating new class mappings. |
void |
setConnectionDecorators(ConnectionDecorator[] decorators)
The ConnectionDecorator s to use. |
void |
setConnectionDecorators(String connectionDecorators)
A comma-separated list of the ConnectionDecorator for
adding functionality to JDBC connections. |
void |
setConnectionFactory(Object factory)
The connection factory. |
void |
setConnectionFactory2(Object factory)
The non-XA connection factory. |
void |
setDataSourceMode(String mode)
The mode of the JDBC data source in use. |
void |
setDataSourceModeEnlisted(boolean enlisted)
Whether the data source is automatically enlisted in global transactions. |
void |
setDBDictionary(DBDictionary dbdictionary)
The DBDictionary to use. |
void |
setDBDictionary(String dbdictionary)
The DBDictionary to use to define the RDBMS SQL
information. |
void |
setFetchDirection(int fetchDirection)
Set the result set fetch direction constant. |
void |
setFetchDirection(String fetchDirection)
The JDBC fetch direction. |
void |
setFirstPersistenceManagerPassword(String pass)
Set the first connection password used to obtain a persistence manager. |
void |
setFirstPersistenceManagerUserName(String user)
Set the first connection user name used to obtain a persistence manager. |
void |
setForeignKeyConstraints(boolean foreignKeyConstraints)
Whether Kodo will order SQL inserts, updates, and deletes to meet foreign key constraints. |
void |
setForeignKeyConstraints(Boolean foreignKeyConstraints)
Wrapper for JCA usage of setForeignKeyConstraints(boolean) . |
void |
setJDBCListeners(JDBCListener[] listeners)
The JDBCListener s to use. |
void |
setJDBCListeners(String jdbcListeners)
A comma-separated list of the JDBCListener plugins for
listening to JDBCEvent s. |
void |
setLRSSize(int lrsSize)
Set the fetch configuration large result set size constant. |
void |
setLRSSize(String lrsSize)
How to obtain the size of large result sets. |
void |
setMappingFactory(MappingFactory mappingFactory)
The MappingFactory to use for O-R mapping. |
void |
setMappingFactory(String mappingFactory)
The plugin string for the MappingFactory to use in creating the
O-R mappings. |
void |
setResultSetType(int resultSetType)
Set the result set constant type. |
void |
setResultSetType(String resultSetType)
The JDBC result set type. |
void |
setSchemaFactory(SchemaFactory schemaFactory)
The SchemaFactory to use for schema information. |
void |
setSchemaFactory(String schemaFactory)
The plugin string for the SchemaFactory to use to provide
schema information during system initialization. |
void |
setSchemas(String schemas)
Comma-separated list of modifiable schemas for JDO instances. |
void |
setSchemas(String[] schemas)
Modifiable schema components. |
void |
setSequenceFactory(SequenceFactory sequenceFactory)
The SequenceFactory to use. |
void |
setSequenceFactory(String sequenceFactory)
The plugin string for the SequenceFactory implementation. |
void |
setSubclassMapping(String subclassMapping)
The ClassMapping to use when mapping subclasses. |
void |
setSynchronizeMappings(String synchronizeMappings)
Whether Kodo should try to automatically refresh O/R mapping information and the database schema. |
void |
setTransactionIsolation(int transactionIsolation)
Set the proper transaction isolation level constant from Connection , or -1 for the default level. |
void |
setTransactionIsolation(String transactionIsolation)
The transaction isolation level to use at the database level. |
void |
setUpdateManager(String updateManager)
The UpdateManager to use for managing SQL updates. |
void |
setUpdateManager(UpdateManager updateManager)
The UpdateManager for runtime data store interaction. |
void |
setVersionIndicator(String versionIndicator)
The VersionIndicator to use when creating new class mappings. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.solarmetric.conf.Configuration |
addPropertyChangeListener, fromProperties, getConfigurationException, getConfigurationLog, getLog, getLogFactory, getValue, getValues, hasJava5, isFrozen, removePropertyChangeListener, setFrozen, setLogFactory, toProperties |
Methods inherited from interface java.beans.BeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors |
Field Detail |
protected DBDictionary dbdictionary
protected SequenceFactory sequenceFactory
protected MappingFactory mappingFactory
protected SchemaFactory schemaFactory
protected UpdateManager updateManager
protected JDBCListener[] jdbcListeners
protected ConnectionDecorator[] connectionDecorators
protected final StringListValue schemas
protected final IntValue transactionIsolation
protected final IntValue resultSetType
protected final IntValue fetchDirection
protected final IntValue lrsSize
protected final BooleanValue foreignKeyConstraints
protected final BooleanValue dataSourceMode
protected final StringValue synchronizeMappings
protected final PluginListValue jdbcListenerPlugins
protected final PluginListValue connectionDecoratorPlugins
protected final PluginValue dbdictionaryPlugin
protected final PluginValue sequenceFactoryPlugin
protected final PluginValue updateManagerPlugin
protected final PluginValue mappingFactoryPlugin
protected final PluginValue schemaFactoryPlugin
protected final StringValue versionIndicator
protected final StringValue classIndicator
protected final StringValue subclassMapping
Constructor Detail |
public JDBCConfigurationImpl()
kodo.properties
.public JDBCConfigurationImpl(JDBCConfiguration conf)
public JDBCConfigurationImpl(boolean loadDefaults)
loadDefaults
- whether to attempt to load the default
kodo.properties
resourceMethod Detail |
public void setSchemas(String schemas)
JDBCConfiguration
setSchemas
in interface JDBCConfiguration
public String getSchemas()
JDBCConfiguration
getSchemas
in interface JDBCConfiguration
public void setSchemas(String[] schemas)
JDBCConfiguration
setSchemas
in interface JDBCConfiguration
public String[] getSchemasList()
JDBCConfiguration
getSchemasList
in interface JDBCConfiguration
public void setTransactionIsolation(String transactionIsolation)
JDBCConfiguration
default
: The JDBC driver's default isolation
level.none
: The standard JDBC
Connection.TRANSACTION_NONE
level.read-committed
: The standard JDBC
Connection.TRANSACTION_READ_COMMITTED
level.read-uncommitted
: The standard JDBC
Connection.TRANSACTION_READ_UNCOMMITTED
level.repeatable-read
: The standard JDBC
Connection.TRANSACTION_REPEATABLE_READ
level.serializable
: The standard JDBC
Connection.TRANSACTION_SERIALIZABLE
level.setTransactionIsolation
in interface JDBCConfiguration
public String getTransactionIsolation()
JDBCConfiguration
default
: The JDBC driver's default isolation
level.none
: The standard JDBC
Connection.TRANSACTION_NONE
level.read-committed
: The standard JDBC
Connection.TRANSACTION_READ_COMMITTED
level.read-uncommitted
: The standard JDBC
Connection.TRANSACTION_READ_UNCOMMITTED
level.repeatable-read
: The standard JDBC
Connection.TRANSACTION_REPEATABLE_READ
level.serializable
: The standard JDBC
Connection.TRANSACTION_SERIALIZABLE
level.getTransactionIsolation
in interface JDBCConfiguration
public void setTransactionIsolation(int transactionIsolation)
JDBCConfiguration
Connection
, or -1 for the default level.setTransactionIsolation
in interface JDBCConfiguration
public int getTransactionIsolationConstant()
JDBCConfiguration
Connection
, or -1 for the default level.getTransactionIsolationConstant
in interface JDBCConfiguration
public void setResultSetType(String resultSetType)
JDBCConfiguration
forward-only
.
forward-only
: The standard JDBC
ResultSet#TYPE_FORWARD_ONLY
type.scroll-sensitive
: The standard JDBC
ResultSet#TYPE_SCROLL_SENSITIVE
type.scroll-insensitive
: The standard JDBC
ResultSet#TYPE_SCROLL_INSENSITIVE
type.setResultSetType
in interface JDBCConfiguration
public String getResultSetType()
JDBCConfiguration
forward-only
.
forward-only
: The standard JDBC
ResultSet#TYPE_FORWARD_ONLY
type.scroll-sensitive
: The standard JDBC
ResultSet#TYPE_SCROLL_SENSITIVE
type.scroll-insensitive
: The standard JDBC
ResultSet#TYPE_SCROLL_INSENSITIVE
type.getResultSetType
in interface JDBCConfiguration
public void setResultSetType(int resultSetType)
JDBCConfiguration
setResultSetType
in interface JDBCConfiguration
public int getResultSetTypeConstant()
JDBCConfiguration
getResultSetTypeConstant
in interface JDBCConfiguration
public void setFetchDirection(String fetchDirection)
JDBCConfiguration
forward
.
forward
: The standard JDBC
ResultSet#FETCH_FORWARD
direction.reverse
: The standard JDBC
ResultSet#FETCH_REVERSE
direction.unknown
: The standard JDBC
ResultSet#FETCH_UNKNOWN
direction.setFetchDirection
in interface JDBCConfiguration
public String getFetchDirection()
JDBCConfiguration
forward
.
forward
: The standard JDBC
ResultSet#FETCH_FORWARD
direction.reverse
: The standard JDBC
ResultSet#FETCH_REVERSE
direction.unknown
: The standard JDBC
ResultSet#FETCH_UNKNOWN
direction.getFetchDirection
in interface JDBCConfiguration
public void setFetchDirection(int fetchDirection)
JDBCConfiguration
setFetchDirection
in interface JDBCConfiguration
public int getFetchDirectionConstant()
JDBCConfiguration
getFetchDirectionConstant
in interface JDBCConfiguration
public void setLRSSize(String lrsSize)
JDBCConfiguration
unknown
.
unknown
: Do not attempt to calculate the size of
large result sets; return Integer.MAX_VALUE
.last
: For result sets that support random access,
calculate the size using ResultSet#last
.query
: Use a separate COUNT query to calculate the
size of the results.setLRSSize
in interface JDBCConfiguration
public String getLRSSize()
JDBCConfiguration
unknown
.
unknown
: Do not attempt to calculate the size of
large result sets; return Integer.MAX_VALUE
.last
: For result sets that support random access,
calculate the size using ResultSet#last
.query
: Use a separate COUNT query to calculate the
size of the results.getLRSSize
in interface JDBCConfiguration
public void setLRSSize(int lrsSize)
JDBCConfiguration
setLRSSize
in interface JDBCConfiguration
public int getLRSSizeConstant()
JDBCConfiguration
JDBCFetchConfiguration
constant for the large
result set size setting.getLRSSizeConstant
in interface JDBCConfiguration
public void setForeignKeyConstraints(boolean foreignKeyConstraints)
JDBCConfiguration
setForeignKeyConstraints
in interface JDBCConfiguration
public void setForeignKeyConstraints(Boolean foreignKeyConstraints)
JDBCConfiguration
JDBCConfiguration.setForeignKeyConstraints(boolean)
.setForeignKeyConstraints
in interface JDBCConfiguration
public boolean getForeignKeyConstraints()
JDBCConfiguration
getForeignKeyConstraints
in interface JDBCConfiguration
public void setSynchronizeMappings(String synchronizeMappings)
JDBCConfiguration
setSynchronizeMappings
in interface JDBCConfiguration
public String getSynchronizeMappings()
JDBCConfiguration
getSynchronizeMappings
in interface JDBCConfiguration
public String getDataSourceMode()
JDBCConfiguration
getDataSourceMode
in interface JDBCConfiguration
public void setDataSourceMode(String mode)
JDBCConfiguration
setDataSourceMode
in interface JDBCConfiguration
public boolean isDataSourceModeEnlisted()
JDBCConfiguration
isDataSourceModeEnlisted
in interface JDBCConfiguration
public void setDataSourceModeEnlisted(boolean enlisted)
JDBCConfiguration
setDataSourceModeEnlisted
in interface JDBCConfiguration
public void setJDBCListeners(String jdbcListeners)
JDBCConfiguration
JDBCListener
plugins for
listening to JDBCEvent
s.setJDBCListeners
in interface JDBCConfiguration
public String getJDBCListeners()
JDBCConfiguration
JDBCListener
plugins for
listening to JDBCEvent
s.getJDBCListeners
in interface JDBCConfiguration
public void setJDBCListeners(JDBCListener[] listeners)
JDBCConfiguration
JDBCListener
s to use.setJDBCListeners
in interface JDBCConfiguration
public JDBCListener[] getJDBCListenerInstances()
JDBCConfiguration
JDBCListener
s to use.getJDBCListenerInstances
in interface JDBCConfiguration
public void setConnectionDecorators(String connectionDecorators)
JDBCConfiguration
ConnectionDecorator
for
adding functionality to JDBC connections.setConnectionDecorators
in interface JDBCConfiguration
public String getConnectionDecorators()
JDBCConfiguration
ConnectionDecorator
for adding
functionality to JDBC connections.getConnectionDecorators
in interface JDBCConfiguration
public void setConnectionDecorators(ConnectionDecorator[] decorators)
JDBCConfiguration
ConnectionDecorator
s to use.setConnectionDecorators
in interface JDBCConfiguration
public ConnectionDecorator[] getConnectionDecoratorInstances()
JDBCConfiguration
ConnectionDecorator
s to use.getConnectionDecoratorInstances
in interface JDBCConfiguration
public void setDBDictionary(String dbdictionary)
JDBCConfiguration
DBDictionary
to use to define the RDBMS SQL
information.setDBDictionary
in interface JDBCConfiguration
public String getDBDictionary()
JDBCConfiguration
DBDictionary
to use to define the RDBMS SQL
information.getDBDictionary
in interface JDBCConfiguration
public void setDBDictionary(DBDictionary dbdictionary)
JDBCConfiguration
DBDictionary
to use.setDBDictionary
in interface JDBCConfiguration
public DBDictionary getDBDictionaryInstance()
JDBCConfiguration
DBDictionary
to use.getDBDictionaryInstance
in interface JDBCConfiguration
public void setSequenceFactory(String sequenceFactory)
JDBCConfiguration
SequenceFactory
implementation.setSequenceFactory
in interface JDBCConfiguration
public String getSequenceFactory()
JDBCConfiguration
SequenceFactory
implementation.getSequenceFactory
in interface JDBCConfiguration
public void setSequenceFactory(SequenceFactory sequenceFactory)
JDBCConfiguration
SequenceFactory
to use.setSequenceFactory
in interface JDBCConfiguration
public SequenceFactory getSequenceFactoryInstance()
JDBCConfiguration
SequenceFactory
to use.getSequenceFactoryInstance
in interface JDBCConfiguration
public void setUpdateManager(String updateManager)
JDBCConfiguration
UpdateManager
to use for managing SQL updates.setUpdateManager
in interface JDBCConfiguration
public String getUpdateManager()
JDBCConfiguration
UpdateManager
to use for managing SQL updates.getUpdateManager
in interface JDBCConfiguration
public void setUpdateManager(UpdateManager updateManager)
JDBCConfiguration
UpdateManager
for runtime data store interaction.setUpdateManager
in interface JDBCConfiguration
public UpdateManager getUpdateManagerInstance()
JDBCConfiguration
UpdateManager
for runtime data store interaction.getUpdateManagerInstance
in interface JDBCConfiguration
public void setMappingFactory(String mappingFactory)
JDBCConfiguration
MappingFactory
to use in creating the
O-R mappings. Defaults to the FileMappingFactory
.setMappingFactory
in interface JDBCConfiguration
public String getMappingFactory()
JDBCConfiguration
MappingFactory
to use in creating the
O-R mappings. Defaults to the FileMappingFactory
.getMappingFactory
in interface JDBCConfiguration
public void setMappingFactory(MappingFactory mappingFactory)
JDBCConfiguration
MappingFactory
to use for O-R mapping.setMappingFactory
in interface JDBCConfiguration
public MappingFactory getMappingFactoryInstance()
JDBCConfiguration
MappingFactory
to use for O-R mapping.getMappingFactoryInstance
in interface JDBCConfiguration
public void setSchemaFactory(String schemaFactory)
JDBCConfiguration
SchemaFactory
to use to provide
schema information during system initialization.
Defaults to the LazySchemaFactory
.setSchemaFactory
in interface JDBCConfiguration
public String getSchemaFactory()
JDBCConfiguration
SchemaFactory
to use to provide
schema information during system initialization.
Defaults to the LazySchemaFactory
.getSchemaFactory
in interface JDBCConfiguration
public void setSchemaFactory(SchemaFactory schemaFactory)
JDBCConfiguration
SchemaFactory
to use for schema information.setSchemaFactory
in interface JDBCConfiguration
public SchemaFactory getSchemaFactoryInstance()
JDBCConfiguration
SchemaFactory
to use for schema information.getSchemaFactoryInstance
in interface JDBCConfiguration
public void setVersionIndicator(String versionIndicator)
JDBCConfiguration
VersionIndicator
to use when creating new class mappings.
Defaults to version-number
.setVersionIndicator
in interface JDBCConfiguration
public String getVersionIndicator()
JDBCConfiguration
VersionIndicator
to use when creating new class mappings.
Defaults to version-number
.getVersionIndicator
in interface JDBCConfiguration
public void setClassIndicator(String classIndicator)
JDBCConfiguration
ClassIndicator
to use when creating new class mappings.
Defaults to in-class-name
.setClassIndicator
in interface JDBCConfiguration
public String getClassIndicator()
JDBCConfiguration
ClassIndicator
to use when creating new class mappings.
Defaults to in-class-name
.getClassIndicator
in interface JDBCConfiguration
public void setSubclassMapping(String subclassMapping)
JDBCConfiguration
ClassMapping
to use when mapping subclasses.
Defaults to flat
.setSubclassMapping
in interface JDBCConfiguration
public String getSubclassMapping()
JDBCConfiguration
ClassMapping
to use when mapping subclasses.
Defaults to flat
.getSubclassMapping
in interface JDBCConfiguration
public MappingRepository getMappingRepository()
JDBCConfiguration
getMappingRepository
in interface JDBCConfiguration
protected com.solarmetric.license.Capabilities createCapabilities()
JDOConfigurationImpl
Capabilities
for this license type.createCapabilities
in class JDOConfigurationImpl
public JDOMetaDataRepository getMetaDataRepository()
JDOConfiguration
getMetaDataRepository
in interface JDOConfiguration
getMetaDataRepository
in class JDOConfigurationImpl
public Object getConnectionFactory()
JDOConfiguration
getConnectionFactory
in interface JDOConfiguration
getConnectionFactory
in class JDOConfigurationImpl
public void setConnectionFactory(Object factory)
JDOConfiguration
setConnectionFactory
in interface JDOConfiguration
setConnectionFactory
in class JDOConfigurationImpl
public Object getConnectionFactory2()
JDOConfiguration
getConnectionFactory2
in interface JDOConfiguration
getConnectionFactory2
in class JDOConfigurationImpl
public void setConnectionFactory2(Object factory)
JDOConfiguration
setConnectionFactory2
in interface JDOConfiguration
setConnectionFactory2
in class JDOConfigurationImpl
public DataSource getDataSource(KodoPersistenceManager pm)
JDBCConfiguration
DataSource.getConnection()
. If the given
persistence manager is null, the data source will use the
configuration's default connection user name and password. If those
too are null and the first persistence manager has been obtained
already, then the user name and password for that persistence manager
will be used, as we know they represent a valid combination. This
method avoids casting the result of
JDOConfiguration.getConnectionFactory()
, and avoids having to
pass in the user name and password to obtain connections.getDataSource
in interface JDBCConfiguration
public DataSource getDataSource2(KodoPersistenceManager pm)
JDBCConfiguration
DataSource.getConnection()
will be the specificed connection 2
user name and password. If those are null and the given persistence
manager is non-null, its user name password will be used instead. If
the persistence manager is null too, then the user name and password
used to retrieve the first persistence manager will be used. If there
is no second connection factory the primary connection factory is used.getDataSource2
in interface JDBCConfiguration
kodo.jdbc.conf.JDBCConfiguration
JDBCConfiguration.getDataSource(kodo.runtime.KodoPersistenceManager)
public void setFirstPersistenceManagerUserName(String user)
JDBCConfiguration
setFirstPersistenceManagerUserName
in interface JDBCConfiguration
public void setFirstPersistenceManagerPassword(String pass)
JDBCConfiguration
setFirstPersistenceManagerPassword
in interface JDBCConfiguration
public void close()
close
in interface Configuration
close
in class JDOConfigurationImpl
protected boolean isInvalidProperty(String propName)
ConfigurationImpl
isInvalidProperty
in class JDOConfigurationImpl
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |