|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.serializer.JetspeedDDLApplication
public class JetspeedDDLApplication
Jetspeed Serializer DDL- Application invoke with mandatory either
-I directory or filename of schema files for input, if directory all xml files will be processed
and/or-O schema file for output log of current database
and (if -I denotes a directory:)-x if directory list provided for input schemas this pattern is excluded
-s name of the order file (if schema directory)
-m if directory list provided this is the merge file to use. If not set here or in the properties file, a hardcoded version is used
note that - if -I and -O are specified, the output file will contain the UPDATED database
invoke with (optional) parameters-P propertyFileName, for settings
-R (flag) replace : overwrites default "UPDATE" and clears out the database before processing (ignored with -O option above)
-dn databaseName, for example MYSQL or ORACLE10
-dc driverClass, for example com.mysql.jdbc.Driver
-ds url, ruls according to the driver used, URL needs to point to the correct database
-du user, user with create/drop etc. rights on the database
-dp password
-l log4j-level, ERROR (default), WARN, INFO
Field Summary | |
---|---|
static java.lang.String |
JNDI_DS_NAME
|
Constructor Summary | |
---|---|
JetspeedDDLApplication()
|
Method Summary | |
---|---|
java.util.List |
getRows(JetspeedDDLUtil ddlUtil,
java.lang.String tableName)
|
java.lang.String |
getSelectQueryForAllString(JetspeedDDLUtil ddlUtil,
org.apache.ddlutils.model.Table table)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JNDI_DS_NAME
Constructor Detail |
---|
public JetspeedDDLApplication()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public java.util.List getRows(JetspeedDDLUtil ddlUtil, java.lang.String tableName)
public java.lang.String getSelectQueryForAllString(JetspeedDDLUtil ddlUtil, org.apache.ddlutils.model.Table table)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |