Hi Noel, I tried this for a bit, but it's difficult. The two issues I am currently facing are:
* a common path to org.h2.value.ValueStringFixed#get() seems to be via org.h2.value.Value#convertTo(int), which doesn't have access to the mode * to do things in the DB2 way I will also have to have access to the precision of the field - DB2 will return the CHAR in the length specified. Precision is available on instances, but not on the static methods. Any ideas on how to solve these? Or at least the former, the latter we can probably live with since we tend to write the data in the correct length in our tests anyway. And BTW: when running individual tests from my IDE (TestScript in particular), I see errors about not finding the resources for error messages. Is that expected or is there some way to fix that? Cheers, Peter On Tuesday, May 24, 2016 at 5:17:03 PM UTC+10, Noel Grandin wrote: > > I'd prefer you added another boolean flag to Mode, that is only set to > true for DB2, and passed that flag down. > > We support a lot of modes and someone somewhere always relies on these > things. > > Thanks. > -- 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.
