ObjectDB ObjectDB

Internal Website Search

11-20 of 23 resultsRefresh
24

JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums

:enumFieldList)" And enum field is defined in MyEntity as:     @Enumerated(EnumType.STRING ... that you had. support Support I managed to reproduce the issue and found the @Enumerated(EnumType.STRING ... Indeed using @Enumerated(EnumType.STRING) in the example of #2 above demonstrates the issue. It happened
16

Error 363 - Failed to read value of inverse relationship

= new PersonalData(); @Enumerated(EnumType.STRING) private OnlineStatus onlineStatus = OnlineStatus.ONLINE; @Enumerated(EnumType.STRING) private PlayerStatus playerStatus
16

@ElementCollection of type enum

@GeneratedValue Long id;                 @ElementCollection @Enumerated(EnumType.STRING ... objects preserve their enum values (but values are changed when EnumType.STRING is not specified
12

Performance in SELECT statement

processingCount;     @Enumerated(EnumType.ORDINAL)     @Index     private EntityState entityState
12

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for fields like = HashMap<EnumType,Double> Thanks EKK EKK Emmanuel Keskes You can persist any Serializable type if you enable this ability in the configuration. But using this feature
10

MapKeyEnumerated.value

Annotation Element javax.persistence.MapKeyEnumerated EnumType value (Optional) The type used in mapping a map key enum type. Default value: javax.persistence.EnumType.ORDINAL Since: JPA 2.0
10

Enumerated.value

Annotation Element javax.persistence.Enumerated EnumType value (Optional) The type used in mapping an enum type. Default value: javax.persistence.EnumType.ORDINAL Since: JPA 1.0
7

java.lang.Comparable

java.lang Interface Comparable<T> Implementing Classes: AccessType, PersistentAttributeType, BindableType, ByteIdentity, CacheRetrieveMode, CacheStoreMode, CascadeType, CharIdentity, Trimspec, DiscriminatorStrategy, DiscriminatorType, Enum, EnumType, FetchType, FlushModeType, ForeignKeyAction
7

java.io.Serializable

, EntityExistsException, EntityNotFoundException, Enum, EnumType, EventObject, Exception, FetchType
2

ObjectDB 2.6.2

EnumType.STRING based enum collection as a query parameter (issue #1639). Fixed a synchronization bug

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support