Key facts
- Brand
- DataNucleus
- Model
- v6.0
- Category
- Other software
- Industry
- Software
- Documents
- 2
- Languages
- EN
- Last added
- 2026-11-13
Start here

DataNucleus v6.0 Jakarta Persistence Mapping Guide
This guide documents mapping options for DataNucleus Jakarta persistence, including entity classes, inheritance, identity, versioning, auditing, multitenancy, field types, value generation, relationships, embedded fields, and datastore schema.
It presents metadata using Java annotations or XML and notes DataNucleus-specific extensions such as soft delete, read-only classes, and persistence-aware classes.
DataNucleus v6.0 specifications
| Soft delete support | RDBMS, MongoDB, Cassandra, HBase, Neo4j |
|---|---|
| Java record persistence | Not supported as persistable classes; usable as a DTO populated from a query |
| Default constructor | Not required; the enhancer adds one if absent |
All DataNucleus v6.0 documents by type
Instruction set, parameters and examples for configuring or programming the device.
Questions answered in these manuals
Can a Java record be used as a Jakarta Persistence entity?
No. A Java (14+) record does not meet Jakarta Persistence requirements, although it can be used as a DTO populated from a query.
Is a default constructor required for DataNucleus Jakarta entities?
No. DataNucleus enhances classes before persistence and adds a default constructor if one is not defined.
How can I limit the number of query results?
Use setFirstResult() and setMaxResults() to restrict the returned results.
How do I execute an UPDATE or DELETE query?
Call executeUpdate(), which returns the number of objects changed.
