Hello Lukas, We use char 'Y'/'N' for encoding boolean values. Probably we have to define custom type handler that converts values from boolean to string and vice versa (both resultset and procedure paramaters). Here is example how this problem can be resolverd in mybatis: http://jroller.com/RickHigh/entry/ibatis_how_do_you_map
Is it possible to map simple char - encoded enumerations (for example 'E - Enabled, 'D' - Disabled, 'S' - Suspended) type to java enum (without master table)? -- Best regards, Sergey On Sun, Nov 20, 2011 at 4:30 PM, Lukas Eder <[email protected]> wrote: # This matches all columns in all tables with column names ending with # typical english suffixes for boolean names: ed (like closed, opened, deleted), # as well as some specific names. generator.generate.forced-type.BOOLEAN=MY_SCHEMA\.w+\.\w+(ED|ACTIVE|SENT)
