morphia
morphia copied to clipboard
MongoDB object-document mapper in Java based on https://github.com/mongodb/mongo-java-driver
Allow subclasses to provide a custom morphia codec provider
### Discussed in https://github.com/MorphiaOrg/morphia/discussions/2802 Originally posted by **AmitKuGarg** December 18, 2023 **Describe the bug** When dev.morphia.Datastore shared across thread, I get Two entities have been mapped using the same discriminator...
PR to fix an issue, described in a discussion here: https://github.com/MorphiaOrg/morphia/discussions/2802 and separate issue opened: https://github.com/MorphiaOrg/morphia/issues/3035
**Is your feature request related to a problem? Please describe.** We have a legacy application that uses morphia 1.6.1. We need to move away from MongoDB to a SQL database....
The examples for $firstN and $lastN are a bit more complicated. There are two examples blocks and the parser seems to "reset" itself when parsing that.
**Describe the bug** Morphia 2.4 appears to add the discriminator to all queries even when polymorphism is not enabled on the mapper. **To Reproduce** Create any query for an object...
** Please ask your question and provide whatever background or supporting information you think might be relevant: ** I am currently trying to register a codec that I have created...
forward port #2865