org.codehaus.mojo.hibernate3
Class Hbm2CfgXmlExporterMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.hibernate3.AbstractHibernateMojo
          extended by org.codehaus.mojo.hibernate3.AbstractHibernateToolMojo
              extended by org.codehaus.mojo.hibernate3.Hbm2CfgXmlExporterMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, HibernateMojo

public final class Hbm2CfgXmlExporterMojo
extends AbstractHibernateToolMojo

"hbm2cfgxml" generates a hibernate.cfg.xml. Intended to be used together with a "jdbcconfiguration" when performing reverse engineering, but can be used with any kind of configuration. The "hbm2cfgxml" will contain the properties used and adds mapping entries for each mapped class.


Field Summary
 
Fields inherited from class org.codehaus.mojo.hibernate3.AbstractHibernateToolMojo
hibernatetool
 
Fields inherited from class org.codehaus.mojo.hibernate3.AbstractHibernateMojo
classRealm, localRepository, session
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Hbm2CfgXmlExporterMojo()
           
 
Method Summary
 String getGoalName()
          Returns the name for this goal.
 
Methods inherited from class org.codehaus.mojo.hibernate3.AbstractHibernateToolMojo
getConfiguration
 
Methods inherited from class org.codehaus.mojo.hibernate3.AbstractHibernateMojo
execute, getAntClassLoader
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hbm2CfgXmlExporterMojo

public Hbm2CfgXmlExporterMojo()
Method Detail

getGoalName

public String getGoalName()
Description copied from interface: HibernateMojo
Returns the name for this goal.

Returns:
String
See Also:
HibernateMojo.getGoalName()


Copyright © 2005-2012 Codehaus. All Rights Reserved.