|
SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Configuration that defines the properties necessary to configure runtime and connect to a JDBC DataSource.
In addition to those supported by the Configuration,
the following properties are recognized:
In addition to those supported by the DefaultConfiguration,
the following XML preferences are recognized:
| Method Summary | |
int |
getAutoReturnTimeout()
The number of seconds to wait before automatically reclaiming an in-use connection |
DBDictionary |
getDictionary()
The DBDictionary to use. |
String |
getDictionaryClass()
The dictionary class to use to define the RDBMS SQL information |
String |
getDictionaryProperties()
Configuration options for the dictionary. |
boolean |
getFlatInheritanceMapping()
Return whether or not a flat inheritance mapping strategy should be used by default. |
String[] |
getPersistentTypes()
The names of all the persistent types registered with the configured database. |
SequenceFactory |
getSequenceFactory()
The SequenceFactory to use. |
String |
getSequenceFactoryClass()
The class name of the SequenceFactory implementation. |
String |
getSequenceFactoryProperties()
Configuration properties for the sequence factory. |
boolean |
getWarnOnPersistentTypeFailure()
Warn (rather than throw an exception) when the class in the data store's persistent metadata is not found. |
void |
setAutoReturnTimeout(int timeout)
The number of seconds to wait before automatically reclaiming an in-use connection |
void |
setDictionary(DBDictionary dict)
The DBDictionary to use. |
void |
setDictionaryClass(String clsName)
The dictionary class to use to define the RDBMS SQL information |
void |
setDictionaryProperties(String props)
Configuration options for the dictionary. |
void |
setFlatInheritanceMapping(boolean map)
Configure the default inheritance hierarchy mapping strategy. |
void |
setPersistentTypes(String[] clsNames)
The names of all the persistent types registered with the configured database. |
void |
setSequenceFactory(SequenceFactory seq)
The SequenceFactory to use. |
void |
setSequenceFactoryClass(String clsName)
The class name of the SequenceFactory implementation. |
void |
setSequenceFactoryProperties(String props)
Configuration properties for the sequence factory. |
void |
setWarnOnPersistentTypeFailure(boolean warn)
Warn (rather than throw an exception) when the class in the data store's persistent metadata is not found. |
| Method Detail |
public int getAutoReturnTimeout()
public void setAutoReturnTimeout(int timeout)
public String getDictionaryClass()
public void setDictionaryClass(String clsName)
public String getDictionaryProperties()
public void setDictionaryProperties(String props)
public DBDictionary getDictionary()
setDictionary(com.solarmetric.kodo.impl.jdbc.schema.DBDictionary) method, it will be returned.
Otherwise, if the dictionary class has been set, a new instance
of the class will created and configured with any set dictionary
properties. This instance will be cached for subsequence calls to this
method. Finally, if no dictionary class has been set a default
dictionary will be returned.public void setDictionary(DBDictionary dict)
public String getSequenceFactoryClass()
public void setSequenceFactoryClass(String clsName)
public String getSequenceFactoryProperties()
public void setSequenceFactoryProperties(String props)
public SequenceFactory getSequenceFactory()
setSequenceFactory(com.solarmetric.kodo.impl.jdbc.SequenceFactory) method, it will be returned.
Otherwise, if the sequence factory class has been set, a new instance
of the class will created and configured with any set sequence factory
properties. This instance will be cached for subsequence calls to this
method. Finally, if no sequence factory class has been seta default
sequence factory will be returned.public void setSequenceFactory(SequenceFactory seq)
public String[] getPersistentTypes()
public void setPersistentTypes(String[] clsNames)
public boolean getWarnOnPersistentTypeFailure()
public void setWarnOnPersistentTypeFailure(boolean warn)
public boolean getFlatInheritanceMapping()
true, then all
fields of all classes in a given inheritance hierarchy will by
default map into the least-derived type's default primary
table. If false then a new default primary table
will be created for each class in the inheritance hierarchy,
and each type's declared fields will map to that table by
default.public void setFlatInheritanceMapping(boolean map)
|
SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||