Hello,

2014/1/12 <[email protected]>

>
> > In the mean time, you will probably have to resort to writing your own
> RecordMapperProvider to override this behaviour:
> > http://www.jooq.org/doc/3.2/manual/sql-execution/fetching/
> pojos-with-recordmapper-provider/<http://www.jooq.org/doc/3.2/manual/sql-execution/fetching/pojos-with-recordmapper-provider/>
>
> There are too many private/package private/final elements to easily
> override the behaviour. For example, extending *DefaultRecordMapper *doesn't
> allow to override the *map()* method. Also, the inner class *MutablePOJOMapper
> *is private so I can't use it. I would have to copy/paste almost all the
> code to change the behavior and I don't want to do that.
>

Yes, all these private / final elements are intentional. Even if you would
access or extend an accessible MutablePOJOMapper, chances are high that you
would run into incompatible changes between minor releases. If you wanted
to fix this right now, you would really need to patch the original sources.


> My temporary workaround will be to use only lowercase names for all
> columns in the database!
>

That'll work as well, of course.

Regards,
Lukas

-- 
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/groups/opt_out.

Reply via email to