About the same time as you posted this reply I came up with a solution. I was able to get a stack trace finally by adding some EntityListener classes and that instructed me further.
In particular it was clear that Hibernate had chosen the wrong class. The solution was to add "@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)" into the Measurement class. See https://techsparx.com/software-development/spring/could-not-set-JSON-field.html + David Herron On Monday, October 16, 2017 at 3:32:17 PM UTC-7, Tatu Saloranta wrote: > > That does seem odd, especially given that serialization by Jackson > should not trigger use of any setter. Setters should only be used for > deserialization. > I also can not find any exception message within `jackson-databind`, > or for Afterburner module (which seemed like a possibility). > > Would it be possible that Hibernate code might be triggering this > failure? I know Jackson creates the exception (it is > `JsonMappingException`) but am wondering what is the code that threw > it originally. > > -+ Tatu +- > > -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
