Embedding Managed Entities in Embedded Objects = bad idea


Discovered that you can't embed entities in embeddable objects if the entity is managed.

Haven't tried embedding un-managed entities in embeddable objects, though I imagine that's not a great idea.

The the error message isn't all that obvious (attempting to persist object which already has an id).




This limitation is unknown. It could help if you can demonstrate it with an example.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login