-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No usable constructor for java.util.Currency #617
Labels
Milestone
Comments
This can be handled by writing a converter. Bumping to post-1.0 for now unless a converter is submitted. |
depends on #940 |
adispenza
pushed a commit
to adispenza/morphia
that referenced
this issue
Jun 14, 2017
adispenza
pushed a commit
to adispenza/morphia
that referenced
this issue
Jun 14, 2017
adispenza
pushed a commit
to adispenza/morphia
that referenced
this issue
Jun 14, 2017
adispenza
added a commit
to adispenza/morphia
that referenced
this issue
Jun 14, 2017
adispenza
added a commit
to adispenza/morphia
that referenced
this issue
Jun 14, 2017
VPriesnitz
pushed a commit
to VPriesnitz/morphia
that referenced
this issue
Oct 5, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
org.mongodb.morphia.mapping.MappingException: No usable constructor for java.util.Currency
Currency usses a factory method to create an instance of the object, and does not provide any constructor. Can you provide a mapping for it? Or I have to write my own converter?
Note that jackson and other JSON libraries do the marshalling/unmarshalling of Currency correctly and out of the box.
The text was updated successfully, but these errors were encountered: