Jooq newRecord from map doesn't map camelCase to snake_case
I want to populate Record from Patch request that has stored values in map. However Jooq doesn't map camelCase keys in map to snake_case. Is there any possibility how to change that globally?
Data class example:
class PlantProtectionPatchRequest(val changes: Map = mapOf()) {
val decisionHolder: String? by changes
val isEko: Boolean? by changes
}
When i use dsl.newRecord(TABLE,plantProtection.changes) doesn't work, but dsl.newRecord(TABLE,plantProtection) would be mapped correctly....