|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.appfuse.utility.ConfigurationUtility
org.codehaus.mojo.appfuse.utility.JDBCConfigurationUtility
public class JDBCConfigurationUtility
This class is a generic class for setting up the configuration of various exporters in the hibernate tools library.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
A static logger for the class. |
Constructor Summary | |
---|---|
JDBCConfigurationUtility()
Creates a new JDBCConfigurationUtility object. |
Method Summary | |
---|---|
void |
addRevEngFile(java.lang.String inFileName)
Setter for the rev eng file list. |
org.hibernate.cfg.Configuration |
createConfiguration()
This method will create a new configuration object. |
void |
doConfiguration(org.hibernate.cfg.Configuration inConfiguration)
This method will set up the aspects of the configuration for use by the hibernate exporters. |
void |
setPackageName(java.lang.String inPackageName)
Setter for the package name. |
void |
setPreferBasicCompositeIds(boolean inFlag)
Setter for the prefer basic composite ids. |
void |
setReverseStrategy(java.lang.String inReverseStrategy)
Setter for the reverse strategy. |
Methods inherited from class org.codehaus.mojo.appfuse.utility.ConfigurationUtility |
---|
addConfiguredFileSet, addFile, getConfiguration, getConfigurationFile, getPropertyFile, setConfigurationFile, setEntityResolver, setNamingStrategy, setPropertyFile, validateParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public JDBCConfigurationUtility()
Method Detail |
---|
public org.hibernate.cfg.Configuration createConfiguration()
createConfiguration
in class ConfigurationUtility
public void doConfiguration(org.hibernate.cfg.Configuration inConfiguration) throws org.apache.maven.plugin.MojoExecutionException
doConfiguration
in class ConfigurationUtility
inConfiguration
- The JDBC configuration to set up.
org.apache.maven.plugin.MojoExecutionException
- Thrown if a class or value cannot be located.public void setPackageName(java.lang.String inPackageName)
inPackageName
- The value of package name.public void setReverseStrategy(java.lang.String inReverseStrategy)
inReverseStrategy
- The value of reverse strategy.public void addRevEngFile(java.lang.String inFileName)
inFileName
- The value of rev eng file to be added to the list.public void setPreferBasicCompositeIds(boolean inFlag)
inFlag
- The value of prefer basic composite ids.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |