Hi, Ah sorry, I thought the test already passes... You are right, this is unexpected. I have fixed it now. However, this is a tricky area. If I was you, I would avoid relying on this behavior of Oracle, because no other database works like this.
Regards, Thomas On Wednesday, May 6, 2015, Peter Fich <[email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > Then you insert an empty string in Oracle, it will insert it as null. > > That works fine for jdbsStatment, because the parser handels it, by parsin > the value of treateemptyStringAsNull into StringValue.get(). > > But for prepared statements that does not happen. > > Hope that explains it better. > > > Peter > > -- > 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/d/optout. > -- 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/d/optout.
