On 2016/08/02 1:19 PM, Vedran Pavić wrote:

How is it unknown? We're dealing with a PreparedStatement here, and 
PreparedStatement#setLong clearly indicates the type.


Because PreparedStatement is "prepared" before the setLong method is called. Unfortunately, that's just how the API works, at preparation time we don't have access to type information about the parameters and it has to be inferred.

--
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 https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to