Results 1 to 3 of 3

Thread: JdbcJobInstanceDao

  1. #1
    Join Date
    Aug 2010
    Posts
    5

    Question JdbcJobInstanceDao

    Is there any particular reason why the JdbcJobInstanceDao doesn't write nulls to the parameter columns not in use in the insertParameter method when writing them to the BATCH_JOB_PARAMS database table?

    I've had to write a customised version for our DB setup and I'm using the same table structure, just wondering if I can write nulls rather than default values or if there's a gotcha waiting for me further down the line.

    Thanks!
    Last edited by KristanM; Oct 14th, 2010 at 05:11 AM. Reason: Added tablename

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    I think it's a platform thing: one or more of the platforms we supports doesn't like the nulls. I forget the detail, but I'm pretty sure we used to insert nulls and someone complained - you can't please all of the people all of the time.

  3. #3
    Join Date
    Aug 2010
    Posts
    5

    Default

    Excellent, thanks Dave!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •