About enum

manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... , java.sql.Time , java.sql.Timestamp. Any enum type. Reference to an entity object. Arrays and collections that ...

 
release

2.5.0

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

 
forum_thread

Searching lists within objects

Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. ... AttributeType can be defined as enum (more efficient). An alternative solution is to use embedded ...

 
forum_thread

@Convert is not supported?

Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice versa)   for example @Convert(converter = MyConverter.class) private Date date;   I've wrote a test on this, and seems that my Converters methods are not executed at all (like annotation doesent exist) ... needed to make entities singletone, (I cant make them an Enum, as those are not predefined and might be added dynamically), if I didnt ...

 
release

2.4.7

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

 
issue

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack, open in NetBeans8.1, perform Clean and Build, and Run: ... Entity public class EnumValue<T extends Enum<T>> extends Value<T> implements IEnumValue<T> ...