Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

No _class value when saving objects to the database

$
0
0
I am using Spring Data MongoDB 1.3 RC1 to read and write pojos to my mongo database. The pojos are fairly simple and the reading and writing is successful. However, when I look at the database, everything in the pojo and the ID field is there, but I don't see a _class field that shows what class the pojo is. From my research, it seems like this should be on by default. Is there a way I can force it on without using custom converters? Thanks in advance.

Viewing all articles
Browse latest Browse all 297

Trending Articles