Yeah, this will need a feature flag. Have a look at how our code deals with the varying features of MySQL Postgres oracle etc. On Thu, 24 Mar 2016 at 18:06, Sergi Vladykin <[email protected]> wrote:
> Your patch will break backward compatibility, so just changing this > behavior is unacceptable. > But if this will only work in PostgreSQL mode then probably this is ok. > > Sergi > > 2016-03-24 16:38 GMT+03:00 Alex Panchenko <[email protected]>: > >> Hello, >> >> For PostgreSQL this method call is used to pass json values (and xml too). >> In H2 this method performs java serialization of the string value. >> >> Types.OTHER is documented as "database specific" and it seems >> that JAVA_OBJECT is a more explicit way to java serialization. >> >> I would like to submit a patch keeping string without changes, if there >> are chances it would be accepted. >> What do you think? >> >> Regards, >> Alex >> >> -- >> 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. >> > > -- > 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. > -- 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.
