Reordered parameters to work around Derby problem with open ResultSets.
Authored by: aktion-hip 2009-01-09
Parent: [r532]
Child: [r534]