DatanucleusJDO « jdo « Java Enterprise Q&A

1. Datanucleus/JDO, persisting and retrieving java.util.Set attribute

I have a attribute of type Set in my persistable class. I am persisting to a H2 database. The class persists correctly and I can view the data using the H2 ...

2. How to map collections to mongodb using datanucleus/jdo?

I'm trying to map an existing mongodb database to domain objects using datanuclues (3.0.0-m6) / JDO. The db has documents like:

collection A: {_id: ..., field1: ...}
collection B: {_id: ..., a: ..., field3: ...