Closed hohwille closed 10 years ago
Now integration with Jackson works smooth for arbitrary custom datatypes including enums.
We only need to implement a spring jpa post processor that creates user types dynamically for custom datatypes.
Actually, fully generic support for JPA or hibernate requires some deeper integration and should go to mmm-persistence rather than mmm-util-core. For Jackson we have created a working solution. For JAXB we could not find an easy way to hook in for dynamic resolution. We have reached what is possible and makes sense for the moment.
After creating #127 this issue is considered as done.
We already added great support for custom datatypes. However, when dealing with JPA/Hibernate, Jackson, JAXB, etc. you always have to implement and register adapters. Many people do not know how to do this or even that it is possible at all. We want to provide an easy and generic solution so you only have to implement an adapter once and gain datatype support for all marshalling and mapping frameworks in a generic way. When using
SimpleDatatype
there should be automatic support without implementing anything (so only composed datatypes require an adapter implementation).