I try to switch my Java pet-project from hand-written SQL to Ebean. When I run the project now I get the message
Was unable to use reflection to find a constructor and appropriate getters forimmutable type interface javax.money.MonetaryAmount
followed by more javamoney-related errors.
I know MonetaryAmont has a private constructor and is instanciated via a public static method. How do I tell Ebean how to serialize a MonetaryAmount?