IN PROGRESS - issue BATCH-277: Add Mysql schema and configurations to the DAO classes
http://jira.springframework.org/browse/BATCH-277 Added MySQL to samples and execution DDL generator (untested).
This commit is contained in:
@@ -273,6 +273,20 @@
|
||||
<fileset dir="${basedir}/src/main/sql" includes="business-schema.sql.vpp" />
|
||||
<mapper type="glob" from="*.sql.vpp" to="*-postgresql.sql" />
|
||||
</vppcopy>
|
||||
<!-- Reference script for MySQL - N.B. not under source control, but packaged in jar. -->
|
||||
<vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
||||
<config>
|
||||
<context>
|
||||
<property key="includes" value="src/main/sql" />
|
||||
<property file="${basedir}/src/main/sql/mysql.properties" />
|
||||
</context>
|
||||
<engine>
|
||||
<property key="velocimacro.library" value="src/main/sql/mysql.vpp" />
|
||||
</engine>
|
||||
</config>
|
||||
<fileset dir="${basedir}/src/main/sql" includes="business-schema.sql.vpp" />
|
||||
<mapper type="glob" from="*.sql.vpp" to="*-mysql.sql" />
|
||||
</vppcopy>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
||||
Reference in New Issue
Block a user