About types

61-70 of 200Refresh
JPA Doc
17

javax.persistence.criteria.MapJoin

> The MapJoin interface is the type of the result of joining to a collection over an association or element ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast ... expression object. This method does not cause type conversion: the runtime type is not changed. Warning
JPA Doc
17

javax.persistence.criteria.SetJoin

interface is the type of the result of joining to a collection over an association or element ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast upon the expression ... expression object. This method does not cause type conversion: the runtime type is not changed. Warning
Manual
17

Query Parameters in JPA

are defined implicitly by appearing in the query string. The parameter type is inferred by the context. In the above example, a comparison of :name to a field whose type is String indicates that the type ... other query elements) are represented by objects (of type ParameterExpression or its super interface
Manual
17

JPA Primary Key

the database is uniquely identified (and can be retrieved from the database) by the combination of its type ... of other persistable types are always stored as part of their containing entity objects and do not ... : } A primary key field that is set by the application can have one of the following types: Primitive types
JPA Doc
17

javax.persistence.criteria.Join

, PluralJoin, SetJoin A join to an entity, embeddable, or basic type. Since: JPA 2.0 Learn how to use ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast upon the expression ... expression object. This method does not cause type conversion: the runtime type is not changed. Warning
JPA Doc
17

javax.persistence.criteria.PluralJoin

to all collection types. It is not intended to be used directly in query construction. Since: JPA 2.0 ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type ... upon the expression, returning a new expression object. This method does not cause type conversion
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
JPA Doc
17

javax.persistence.criteria.From

, PluralJoin, Root, SetJoin Represents a bound type, usually an entity that appears in the from clause ... of associations, embeddables, and collections belonging to the type, and for Paths of attributes belonging to the type. Since: JPA 2.0 Selection alias(String name) Assigns an alias to the selection
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
Forum
17

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