ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh
76

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

is that redeploying the application after that kind of usage of Explorer makes JPQL with Enum to don't ... the application after that kind of usage of Explorer makes JPQL with Enum to don't work properly ... enum values in the Explorer until this is solved. I think that editing enum values is a feature
68

@ElementCollection of type enum

.EAGER) private Set<UserPermission> permissions; package x.x.x.x public enum UserPermission ... permissions (BASIC and COACH, so the first 2 entries). Bug: If UserPermission enum is modified by adding ... ; saves enum values as ordinal, not String, therefore any modification of the order alters
67

mismatch after Enum changes

Hi, I have an entity, an attribute is a enum type: public enum MyEnum { AA, BB, CC, DD; } I populated the database, than I changed the enum types deleting some unused types (es. AA) without reset database: public enum MyEnum { BB, CC, DD; } Now there are mismatches with enums in
29

JPA Persistable Types

, Date and Math types. Multi value types - Collections, Maps and Arrays. Miscellaneous types: Enum ... method on an object of such proxy classes. Enum Types Every enum type (user defined or ... defined enum types should be persisted. By default, enum values are represented internally by
29

Literals in JPQL and Criteria Queries

. 'abc'), enum literals (e.g. mypackage.MyEnum.MY_VALUE) and entity type literals (e.g. Country). JPQL ... '} Timestamp - {ts 'yyyy-mm-dd hh:mm:ss'} - for example: {ts '2020-01-03 13:59:59'} Enum Literals JPA 2 adds support for enum literals. Enum literals in JPQL queries use the ordinary Java syntax for enum
18

Enum fields are set to null and embeddable enum class does not show in explorer

I switched to version 2.8.2 and now it seems that my enum types are not recognized and the field in ... ! The enum type is also not listed in the explorer. I am talking about an enum class, which implements ... this is relevant. public enum Role implements package.of.Role { ... } @ElementCollection(fetch
17

JPA Annotations for Fields

The way a field of a persistable class is managed by JPA can be set by the following annotations: Additional annotations (and enum) are designated for enum fields: Other additional annotations (and enum) are designated for date and calendar fields: Chapter 2 of the ObjectDB manual explains how to use all the above annotations.
13

JPA Miscellaneous

This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations:
13

Database Schema Evolution

, Byte, Short, Character, Integer, Long, Float, Double, BigInteger, BigDecimal and enum values ... toString() if necessary). From String to numeric types including enum types (when applicable). From
13

Shared (L2) Entity Cache

of the CacheRetrieveMode enum: CacheRetrieveMode.USE - cache is used. CacheRetrieveMode.BYPASS - cache ... , which are defined as constants of the CacheStoreMode enum: CacheStoreMode.BYPASS - cache is not updated

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