Than, I initialize this fields in toRecordConverter(). But when I try to run it, I receive:
Failed to instantiate instance of destination java.sql.Date. Ensure that java.sql.Date has a non-private no-argument constructor.
Caused by: java.lang.NoSuchMethodException: java.sql.Date.<init>()
Okay, java.sql.Date have no no-argument constructor. Skipping java.sql.Date fields did not helps. Have I any ways to avoid this exception without changing field types?
Sorry for the lately reply, I can't reproduce the java.sql.Date issue now, can you try to update modelmapper and check if issue still reproducible? Thanks.
I have some classes, generated with jooq-generator. Some fields are java.sql.Date. I write something like this:
Than, I initialize this fields in toRecordConverter(). But when I try to run it, I receive:
Okay, java.sql.Date have no no-argument constructor. Skipping java.sql.Date fields did not helps. Have I any ways to avoid this exception without changing field types?