CreateSql task
Create SQL script to update DB content.
Java class is org.chur.ant.db.jdbsynch.compare.SqlCreateTask
Parameters
Attribute name | Description | Required | Default |
in |
Missing data. In common cases it is a result of <compare> task. |
Yes | – |
out |
SQL script to update DB content which will be created at the result |
Yes | – |
encoding |
Encoding of SQL script |
No | UTF-8 |
profileClass |
Class name which should implement DB profile (org.chur.ant.db.profiles.DBProfile).
|
No | – |
Examples
<taskdef name="createSql" classname="org.chur.ant.db.jdbsynch.compare.SqlCreateTask"/>
<createSql
in="suspicious.xml"
out="suspicious.sql"
encoding="ISO-8859-1"/>
Where:
- suspicious.xml - missing data. In common cases it is a result of <compare> task.
- suspicious.sql - SQL script to update DB content according to data in suspicious.xml file
- encoding - encoding of suspicious.sql file
|