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:
dsyer
2008-01-13 12:45:51 +00:00
parent ce9814f573
commit 448409a257
8 changed files with 201 additions and 0 deletions

View File

@@ -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>