Home » Search

About type

51-60 of 200Refresh
Forum
19

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
17

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
Manual
16

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
15

Database Explorer

objects. The [Schema] window shows the user defined persistable types (entity and embeddable classes ... 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
Forum
14

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
Manual
14

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
14

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
13

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
Forum
13

Failed to generate dynamic type objectdb.java.util.ArrayList

.InternalException: com.objectdb.o.UserException: Failed to generate dynamic type objectdb.java.util.ArrayList com.objectdb.o.UserException: Failed to generate dynamic type objectdb.java.util.ArrayList at com ... .objectdb.o.InternalException: com.objectdb.o.UserException: Failed to generate dynamic type
JPA Doc
13

javax.persistence.criteria.CollectionJoin

> The CollectionJoin interface is the type of the result of joining to a collection ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type) Perform ... upon the expression, returning a new expression object. This method does not cause type conversion: the runtime type