About enum

issue

auto-generated uuid fields

Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values, and when we try to use it the error message seems to imply that auto-generating strings isn't supported. Could you confirm whether this is the case? If so it seems an odd omission, given that it's part of both the JPA and JDO standards (JPA Generator.UUID_HEX and JDO value-strategy="uuid-hex") and that the Java language itself supports it (java.util.UUID). ... javax.jdo.annotations.IdGeneratorStrategy JDO enum Enumeration of the id generator strategy values. See JavaDoc ...

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.CacheRetrieveMode)

 
api-jdo

values()

Returns an array containing the constants of this enum type.(Static Method of javax.jdo.annotations.PersistenceModifier)

 
release

2.5.2

... Version 2.5.1 Added support of editing enum values in the Explorer. Added logging of type registration ... ( issue #162 ). Fixed a bug in handling enum in the primary key ( issue #159 ). Fixed an initialization ...

 
release

2.5.1

... Version 2.5.1 Added support of editing enum values in the Explorer. Added logging of type registration ... ( issue #162 ). Fixed a bug in handling enum in the primary key ( issue #159 ). Fixed an initialization ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... Float , Double , BigInteger , BigDecimal and enum values that are stored as numeric ordinal values (the default). ... From String to numeric types including enum types (when applicable). From any date type to any date ...

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... As a result of this strategy it also hits: - Some Enum and Interface types that are (for better or worse) in those same "entity" ... task] strategy it also hits: - Some Enum and Interface types that are (for better or worse) in those same "entity" ...

 
release

2.4.3

... ( issue #162 ). Fixed a bug in handling enum in the primary key ( issue #159 ). Fixed an initialization ...

 
forum_thread

Feature Request: Improved ObjectDB Explorer

ObjectDB explorer is mainly designed as database viewer, not editor. However, I think it can be improved to function as a capable editor also, and I think this will make ObjectDB an even better product. ... how most data can be entered into the database (including enum and collections, for instance) even though object databases have schemas ...

 
forum_thread

Adding EntityListener Throws Unexpected Internal Exception

I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on the documentation but no luck. My entity class looks like below: ... someClass ;   ... Setter / Getter, Map, Enum & other primitive fields .. } and listener like ...