GenerateDDLTask Reference
GenerateDDLTask specifies an action, data and property files, the objects on which the action is performed, and various behavioral attributes.
<DDLGeneratorTask action="action" targetDirectory="path to the DDL samples directory" targetFilePrefix="prefix used for the target file name" modelProfiles="all|admin|governance|commonlogging|security" dbType="type of the database used" dialect="dialect of the database used" />
Parameters
Example: Create action
<DDLGeneratorTask
action="create"
targetDirectory="${admin.ddl.samples.directory}"
targetFilePrefix="create"
modelProfiles="all"
dbType="ms-sqlserver2008"
dialect="com.tibco.amf.sharedresource.runtime.core.hibernate.dialects.SQLServerDialect" />
Example: Update action
<DDLGeneratorTask
action="update"
targetDirectory="${admin.ddl.samples.directory}"
targetFilePrefix="update"
modelProfiles="all"
dbType="ms-sqlserver2008"
dialect="com.tibco.amf.sharedresource.runtime.core.hibernate.dialects.SQLServerDialect" />
username="temp_non_dba_usr"
password="non_dba_password"
dbUrl="jdbc:sqlserver://qa_machine:1068;DatabaseName=demo_db"
Copyright © TIBCO Software Inc. All Rights Reserved.