About enum

forum_thread

Native ObjectDB Support for EnumSet ?

Greetings ObjectDB team, Are embedded EnumSet objects faster to query than normal classes ? Does JPA/JDO offer native support to filter persistent objects by an EnumSet field's multi values ? For example: WHERE o.es == ES.A | ES.B | ES.C Thank you !... 11:42 Embedded enum sets are supported and are fast (but I am not sure to which classes you ... - otherwise you will not be able to see the enum set values in the Explorer (but you can instantiate it as ...

 
api-jpa

values()

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

 
api-jdo

values()

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

 
api-jpa

values()

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

 
api-jpa

values()

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

 
api-jpa

values()

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

 
api-jdo

values()

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

 
api-jdo

values()

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

 
api-jpa

values()

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

 
api-jpa

values()

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