HI Lukas, Did u get a chance to help provide a working configuration? Thanks
On Monday, December 8, 2014 3:13:59 AM UTC-5, Lukas Eder wrote: > > Hi. > > I suspect you're using MySQL given that you're specifying formatting > lengths for fixed-size integers. Do note that there is no such thing as an > INT(11) type in SQL, even in MySQL. 11 only means the width of the > formatting, not the actual number of decimal digits. The same holds true > for TINYINT(1), which doesn't mean numbers with only 1 digit. It means that > by default, only one digit is displayed. > > If fixing the schema accordingly is not an option, I can help with the > configuration, if you provide me with the DDL of the tables that you'd like > to convert, but that don't really work... > > Best Regards, > Lukas > > 2014-12-08 6:11 GMT+01:00 <[email protected] <javascript:>>: > >> HI, >> >> I am trying to get forcedTYpes defined in my pom.xml to generate code is >> our preferred type (Env mysql, jooq 3.5.0) >> >> columsn marked an INT , INT(11) get generated with type Integer, but we >> would like them as Llong the generated java classes. Also need tinyint(1) >> to mapped to Boolean. >> >> I have tried some variation of below declarations, but still not getting >> the preferred types. >> <forcedTypes> >> <forcedType> >> <name>TINYINT(1)</name> >> <expression>.*</expression> >> <types>BOOLEAN</types> >> </forcedType> >> <forcedType> >> <name>BIGINT</name> >> <expression>.*</expression> >> <types>INT</types> >> </forcedType> >> </forcedTypes> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "jOOQ User Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
