Extending @FieldNameConstants (or a new Annotation)

84 views
Skip to first unread message

Raja Chaitanya Rekapalli

unread,
Aug 7, 2023, 8:01:04 AM8/7/23
to Project Lombok
Hi team:

Is there a way we can extend @FieldNameConstans annotation to return snake case names instead of the actual class member names? Perhaps a new annotation like @FieldNameConstatsSnakeCase? 


We need this kind of functionality in order to avoid using hard coded column name strings to be able to persists our domain entities using JDBC providers in PostgreSQL.


Thanks in advance.

Reply all
Reply to author
Forward
0 new messages