ObjectDB ObjectDB

embedded objects marked final not persisted.


Discovered that embedded objects marked final are not persisted.

I'm not exactly sure why that should the case.

Is this a bug?




Final fields are treated as transient regardless of their type.

If you mean that declaring the embeddable class as transient causes problems - such a limitation is unknown and if you are interested in a solution you will have to demonstrate the problem using a simple single top class test case.

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


To post on this website please sign in.