I shrunk the examples
1) https://gist.github.com/Manjago/8122598 - fail with
output https://gist.github.com/Manjago/8122610
2) https://gist.github.com/Manjago/8122632 - success
I think the reason is ".close()"
During the first pass in method *prepareLocal(String sql)* of
*org.h2.engine.Session*, in process of execution
*command = parser.prepareCommand(sql);*
we doing
*parameters.get(0).setValue(ValueNull.INSTANCE);*
but during the second pass in method *prepareLocal(String sql)* of
*org.h2.engine.Session
*we execute block
* if (command != null && command.canReuse()) {*
* command.reuse();*
* return command;*
* }*
return *command*, but *parameters.get(0)* value still null :-(
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.