I am using gradle plugin, how can I register my custom type converter?
Below is the excerpt of gradle configuration:
generator {
name = 'org.jooq.util.DefaultGenerator'
strategy {
name = 'org.jooq.util.DefaultGeneratorStrategy'
// ...
}
database {
name = 'org.jooq.util.mysql.MySQLDatabase'
inputSchema = 'foodb'
unsignedTypes = false
* customTypes { customType { name =
java.time.LocalDateTime converter =
com.test.LocalDateTimeConverter } }*
}
generate {
relations = true
}
target {
packageName = 'com.test.core.jooq'
directory = 'src/main/java'
}
}
I encountered java.lang.Class cannot be cast to java.lang.String
--
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/d/optout.