Lukas,

Thank you for the tips.

As for now I am avoiding to use fetchInto pojo. Instead I am just using 
something like
                    .fetch().forEach( instance -> { *obj.setValue( * 
instance.getValue( org.nprb.db.*schema*.Tables.*table*.*field*)})



On Sunday, September 7, 2014 11:31:57 PM UTC-8, Lukas Eder wrote:
>
> Hello Igor,
>
> Thanks for reporting. Yes, this is a known issue - essentially it is part 
> of #2929:
> https://github.com/jOOQ/jOOQ/issues/2929
>
> In the short run, you have at least these options as workarounds:
>
> - Choose a different naming strategy at code generation time, i.e. one 
> that keeps all column names as they are in the database. You can also do 
> this on a per-table basis, i.e. patch only the getters / setters for this 
> particular column.
> - Implement a custom RecordMapper and register it using a 
> RecordMapperProvider: 
> http://www.jooq.org/doc/latest/manual/sql-execution/fetching/pojos-with-recordmapper-provider/
> - Make the column case-insensitive
>
> Hope this helps,
> Lukas
>
>
> 2014-09-07 2:28 GMT+02:00 Igor Katrayev <[email protected] <javascript:>>:
>
>> Hello,
>>
>> I have "htmlSummary" field (case sensitive) in one of postgres table. 
>> POJO for the table generated as it's supposed to be but when I try to do 
>> "fetchInto" such kind of fields are not mapped at all. In the resulting 
>> List of pojo instances they are all null.
>>
>> Best,
>>
>> Igor Katrayev
>>
>>  -- 
>> 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.

Reply via email to