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:
8
spring-batch-samples/src/main/sql/mysql.properties
Normal file
8
spring-batch-samples/src/main/sql/mysql.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
platform=oracle10g
|
||||
# SQL language oddities
|
||||
BIGINT = BIGINT
|
||||
IDENTITY = unsigned
|
||||
GENERATED =
|
||||
IFEXISTS = IF EXISTS
|
||||
# for generating drop statements...
|
||||
SEQUENCE = TABLE
|
||||
3
spring-batch-samples/src/main/sql/mysql.vpp
Normal file
3
spring-batch-samples/src/main/sql/mysql.vpp
Normal file
@@ -0,0 +1,3 @@
|
||||
#macro (sequence $name)CREATE TABLE ${name} (ID BIGINT NOT NULL) type=MYISAM;
|
||||
INSERT INTO ${name} values(0);
|
||||
#end
|
||||
Reference in New Issue
Block a user