Closed blessbon closed 7 years ago
Hello,
You should ask this to them: https://github.com/orika-mapper/orika My project just demonstrates a way of using Orika with Spring. My bet is that this will not be supported though...
In case you need it you can find a couple of solutions in here http://stackoverflow.com/questions/30805753/how-to-map-java-time-localdate-field-with-orika
I have not been able to find a way of mapping JSR310 LocalDate and LocalDateTime.
Caused by: java.lang.IllegalArgumentException: no suitable constructors found for LocalDateTime at ma.glasnost.orika.impl.generator.ObjectFactoryGenerator.addSourceClassConstructor(ObjectFactoryGenerator.java:165) at ma.glasnost.orika.impl.generator.ObjectFactoryGenerator.addCreateMethod(ObjectFactoryGenerator.java:124) at ma.glasnost.orika.impl.generator.ObjectFactoryGenerator.build(ObjectFactoryGenerator.java:95) ... 10 more
I know what the exception means, but I'm wondering if there are any plans to support JSR 310 when doing the bean mapping