About types

51-60 of 200Refresh
Forum
24

Using Enum type in NamedQuery: Field is not found in type

with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type; @Enumerated public Type getType() {     return type; } I then try to query this field in the following
Manual
22

JPA Entity Fields

of one of the supported persistable types. ObjectDB supports persistent fields with any declared static type, including a generic java.lang.Object, as long as the type of the actual value at runtime ... : OneToOne, ManyToOne - for references of entity types. OneToMany, ManyToMany - for collections
Forum
21

Cascade type annotaion on an embeddable type

Cascade type annotaion on an embeddable type
Manual
20

Numbers in JPQL and Criteria Queries

numeric promotion principles. For example, the resulting type of a binary arithmetic operation ... an argument a numeric value of any type and returns a value of the same type. The MOD Function The MOD ... into 8 twice with a remainder of 0) The MOD function takes two integer values of any type and returns
Manual
19

Database Explorer

objects. The [Schema] window shows the user defined persistable types (entity and embeddable classes) in ... provides two types of viewer windows for viewing the database data. The Table window follows ... a single database object. This type of viewer is useful for viewing data of a simple object model. In
Manual
18

Comparison in JPQL and Criteria API

) expressions: c.president == null c.president != null Comparable Data Types Comparison is supported for values of the following data types: Values of numeric types, including primitive types (byte, short, char, int, long, float, double), wrapper types (Byte, Short, Character, Integer, Long, Float, Double
Forum
18

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: [2015-06-08 13:07:02 #1 type.user] Enhancement of type com.btc.ep ... :-2962887009206123121) [2015-06-08 13:07:02 #2 type] Type com.btc.ep.requirement.bl.internal.ScopeRequirementContainerImpl is not enhanced. [2015-06-08 13:07:02 #3 type.user] Enhancement of type
Forum
18

com.objectdb.o.TEX: Type ... is not found, for a class that's already been enhanced successfully.

persistable types have been enhanced:     common.app.Model     common.model.Auction     common.model ... .MRTemplate     mr.model.MRTrader 11 NON persistable types have been enhanced:     common.model.Person$_inRole ... -12.conf [2019-09-13 17:13:02 #7 typeType common.app.Model is not enhanced. [2019-09-13 17:13:02
Forum
17

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG
Forum
17

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities ... Embedded Systems AG References to entity objects are implemented by ObjectDB as a pair of (type + id ... is faster when its exact type is known. Following your request we added a new option to version 1.7.0_02