Home » Support » Forum » Embedded Object inside another embedded object - is that possible?

Embedded Object inside another embedded object - is that possible?

#1

I have an entity with an embedded object - it works fine.

Now I am trying to add an embedded object inside the first level embedded object - but it does not seem to store it and does not throw either...

I was wondering if it was a limitation or not? has anyone tried this before?

Thanks

#2

It should work, but since this structure is less commonly used, there may be issues that no one yet reported. Can you please post a test case that demonstrates the problem?

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

off that - finally found the solution - the 2nd level embedded class only had final fields.. so they were not stored as expected.

Thanks for ur quick answer - btw ObjectDB is really cool

#4

Thanks

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

Post Reply

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