org.hibernate.tool.ant
Class JDBCConfigurationTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.hibernate.tool.ant.ConfigurationTask
              extended by org.hibernate.tool.ant.JDBCConfigurationTask

public class JDBCConfigurationTask
extends ConfigurationTask

Author:
max, Alexandru Popescu

Field Summary
 
Fields inherited from class org.hibernate.tool.ant.ConfigurationTask
entityResolver
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
JDBCConfigurationTask()
           
 
Method Summary
protected  org.hibernate.cfg.Configuration createConfiguration()
           
protected  void doConfiguration(org.hibernate.cfg.Configuration configuration)
           
 void setDetectManyToMany(boolean b)
           
 void setDetectOptimisticLock(boolean b)
           
 void setPackageName(String pkgName)
           
 void setPreferBasicCompositeIds(boolean b)
           
 void setRevEngFile(org.apache.tools.ant.types.Path p)
           
 void setReverseStrategy(String fqn)
           
 
Methods inherited from class org.hibernate.tool.ant.ConfigurationTask
addConfiguredFileSet, addFile, getConfiguration, getConfigurationFile, getProperties, getPropertyFile, setConfigurationFile, setEntityResolver, setNamingStrategy, setPropertyFile, validateParameters
 
Methods inherited from class org.apache.tools.ant.Task
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCConfigurationTask

public JDBCConfigurationTask()
Method Detail

createConfiguration

protected org.hibernate.cfg.Configuration createConfiguration()
Overrides:
createConfiguration in class ConfigurationTask

doConfiguration

protected void doConfiguration(org.hibernate.cfg.Configuration configuration)
Overrides:
doConfiguration in class ConfigurationTask

setPackageName

public void setPackageName(String pkgName)

setReverseStrategy

public void setReverseStrategy(String fqn)

setRevEngFile

public void setRevEngFile(org.apache.tools.ant.types.Path p)

setPreferBasicCompositeIds

public void setPreferBasicCompositeIds(boolean b)

setDetectManyToMany

public void setDetectManyToMany(boolean b)

setDetectOptimisticLock

public void setDetectOptimisticLock(boolean b)