I think I might have found a workaround: <includeExcludeColumns>true</includeExcludeColumns> <excludes>inv_no</excludes>
On Thu, Oct 29, 2015 at 9:58 AM, Ben Hood <[email protected]> wrote: > Hi Lukas, > > I have a table in schema that is causing compilation to fail. > > Unhelpfully, this table has 2 columns: > > INV NO > Inv_no > > which cause the following code to be generated: > > public final TableField<TblFooRecord, String> INV_NO = > createField("INV NO", org.jooq.impl.SQLDataType.VARCHAR.length(50), > this, ""); > > public final TableField<TblFooRecord, String> INV_NO = > createField("Inv_no", org.jooq.impl.SQLDataType.VARCHAR.length(50), > this, ""); > > Unfortunately this causes the names of the two generated column fields > to collide. Is there maybe a way to configure the generator not > auto-capitalize the column name? Or can configure some kind of > execution for this particular column? > > The env details are: > > Java 7 > JOOQ 3.6.4 > SQL Server 2008 > Maven code generator plugin > > Cheers, > > Ben -- 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.
