engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Called when the engine is started
- engineStarted in interface xdoclet.TemplateSubTask
xdoclet.XDocletException
- Thrown in case of problem
getAutoCreate
public String getAutoCreate()
getCacheProvider
public String getCacheProvider()
getDataSource
public String getDataSource()
getDefaultSchema
public String getDefaultSchema()
getDepends
public String getDepends()
getDialect
public String getDialect()
getDriver
public String getDriver()
getJdbcFetchSize
public String getJdbcFetchSize()
getJdbcUrl
public String getJdbcUrl()
getJndiName
public String getJndiName()
getJndiProperties
public Collection getJndiProperties()
getMaxFetchDepth
public String getMaxFetchDepth()
getOtherMappings
public Collection getOtherMappings()
getOtherProperties
public Collection getOtherProperties()
getPassword
public String getPassword()
getPoolSize
public String getPoolSize()
getQuerySubstitutions
public String getQuerySubstitutions()
getServiceName
public String getServiceName()
return configured service name
getShowSql
public boolean getShowSql()
getTransactionManagerStrategy
public String getTransactionManagerStrategy()
getTransactionStrategy
public String getTransactionStrategy()
getUseOuterJoin
public boolean getUseOuterJoin()
getUseQueryCache
public String getUseQueryCache()
getUserName
public String getUserName()
getUserTransactionName
public String getUserTransactionName()
getVersion
public String getVersion()
setAutoCreate
public void setAutoCreate(String autoCreate)
Parameter for hibernate.hbm2ddl.auto property. Available since hibernate 2.1.6. Allowed values are
'create', 'create-drop' and 'update'.
setCacheProvider
public void setCacheProvider(String cacheProvider)
The fully qualified class name of the Hibernate CacheProvider implementation. For Hibernate 2.1+ only.
setDataSource
public void setDataSource(String dataSource)
JNDI name of data source to use in the session factory. Note, that if you don't supply it here, you have to have
it in a hibernate.properties file in your classpath.
setDefaultSchema
public void setDefaultSchema(String string)
Only for Hibernate 2.1+
setDepends
public void setDepends(String depends)
The complete name of the data source service name that this service depends on.
setDialect
public void setDialect(String dialect)
SQL
dialect of the
database. Note, that if you don't supply it here, you have to have it in a hibernate.properties file in your
classpath. Use the fully-qualified class name of the dialect here.
setJdbcFetchSize
public void setJdbcFetchSize(String string)
Only for Hibernate 2.1+
setJndiName
public void setJndiName(String jndiName)
JNDI name to bind to the SessionFactory
setMaxFetchDepth
public void setMaxFetchDepth(String string)
Only for Hibernate 2.1+
setPassword
public void setPassword(String password)
Use this password to login to the database
setQuerySubstitutions
public void setQuerySubstitutions(String string)
Only for Hibernate 2.1+
setServiceName
public void setServiceName(String serviceName)
setShowSql
public void setShowSql(boolean showSql)
Log sql statements.
setTransactionManagerStrategy
public void setTransactionManagerStrategy(String transactionManagerStrategy)
Strategy for obtaining the JTA TransactionManager
transactionManagerStrategy
-
setTransactionStrategy
public void setTransactionStrategy(String transactionStrategy)
The fully qualified class name of the Hibernate TransactionFactory implementation.
setUseOuterJoin
public void setUseOuterJoin(boolean useOuterJoin)
Whether to use outer join
setUseQueryCache
public void setUseQueryCache(String string)
Only for Hibernate 2.1+
setUserName
public void setUserName(String userName)
Use this user name to login to the database
setUserTransactionName
public void setUserTransactionName(String userTransactionName)
The JNDI name of the JTA UserTransaction object
setVersion
public void setVersion(String version)
Set the Hibernate version that the jboss service should be generated for. Values are "1.1", "2.0" and "2.1". This
value normally corresponds to the setting of the hibernate subtask. Default is "2.1" !
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
- validateOptions in interface xdoclet.TemplateSubTask