Permalink
Browse files

Merge pull request #897 from ddurnev/master

[RJA-2020][fix]: Fixed quartz schema for H2: store boolean values as varchar(5)
  • Loading branch information...
2 parents 4edac5e + 238be47 commit c08eb2ca4349f6efcd03edfa354f32d57a00c057 @rsvato rsvato committed Mar 22, 2013
@@ -169,10 +169,11 @@ trait QuartzSchema extends Schema {
d.JOB_GROUP is (dbType("varchar(200)")),
d.DESCRIPTION is (dbType("varchar(250)")),
d.JOB_CLASS_NAME is (dbType("varchar(250)")),
- d.IS_DURABLE is (dbType("varchar(1)")),
- d.IS_NONCONCURRENT is (dbType("varchar(1)")),
- d.IS_UPDATE_DATA is (dbType("varchar(1)")),
- d.REQUESTS_RECOVERY is (dbType("varchar(1)"))//,
+ // all boolean columns should have size >= 5, since H2 for example stores 'true'/'false' values
+ d.IS_DURABLE is (dbType("varchar(5)")),
+ d.IS_NONCONCURRENT is (dbType("varchar(5)")),
+ d.IS_UPDATE_DATA is (dbType("varchar(5)")),
+ d.REQUESTS_RECOVERY is (dbType("varchar(5)"))//,
// d.JOB_DATA is (dbType("blob"))
))

0 comments on commit c08eb2c

Please sign in to comment.