In my DB (SQL server) there are column names in camelCase. For this I would 
like to generate pojos for which
a) the field names correspond 1: 1 to the camelCase column names
b) the getter / setter according to the scheme:
[get | set] + column names in Pascal Case, i.e. with first char uppercase 
while the rest of the name should remain the same like the column name.
I guess that's one of the common requirements and the standard case for 
naming getter / setter after the attribute name.

Example:
Column: activeRevision
getter getActiveRevision
setter: setActiveRevision

The field names of the POJO attributes match with the following 
strategy/matchers
<fieldMember>
<transform> AS_IS </transform>
<expression> $ 0 </expression>
</fieldMember>

But I can't get the names of the getter / setters:

<fieldGetter>
<transform> AS_IS </transform>
<expression> get $ 0 </expression>
</fieldGetter>
leads to getactiveRevision

<fieldGetter>
<transform> CAMEL </transform>
<expression> $ 0 </expression>
</fieldGetter>
leads to activerevision (where is the UPPER cases 'R' of revision?)

<fieldGetter>
<transform> CAMEL </transform>
<expression> get $ 0 </expression>
</fieldGetter>
leads to getactiverevision

How can I achieve that getter / setter getActiveRevision and 
setActiveRevision are generated for a column activeRevision? Do I really 
have to write a custom generator?

Seems to be, that this issue is open since 2013 ?
https://groups.google.com/g/jooq-user/c/1iy0EdWe_T8 so 

kind regards
Dominik

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/f3a37b3b-f471-44d4-ba3d-161dd608e68cn%40googlegroups.com.

Reply via email to