org.codehaus.mojo.hibernate3
Class Hbm2DDLExporterMojo

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.Hbm2DDLExporterMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, HibernateMojo

public final class Hbm2DDLExporterMojo
extends AbstractHibernateToolMojo

"hbm2ddl" lets you run schemaexport and schemaupdate which generates the appropriate SQL DDL and allow you to store the result in a file or export it directly to the database. Remember that if a custom naming strategy is needed it is placed on the configuration element.


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
Hbm2DDLExporterMojo()
           
 
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

Hbm2DDLExporterMojo

public Hbm2DDLExporterMojo()
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.