About type

51-60 of 200Refresh
Manual
19

Literals in JPQL and Criteria Queries

Literals in JPQL, as in Java, represent constant values. JPQL supports various types of literals ... . 'abc'), enum literals (e.g. mypackage.MyEnum.MY_VALUE) and entity type literals (e.g. Country). JPQL ... values, but the fully qualified name of the enum type should always be specified. For example, assuming
Forum
19

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
JPA Doc
19

javax.persistence.metamodel.EmbeddableType

javax.persistence.metamodel Interface EmbeddableType Superinterfaces: ManagedType, Type Instances of the type EmbeddableType represent embeddable types. Since: JPA 2.0 Attribute getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name
JPA Doc
19

javax.persistence.metamodel.ManagedType

javax.persistence.metamodel Interface ManagedType Superinterfaces: Type Subinterfaces: EmbeddableType, EntityType, IdentifiableType, MappedSuperclassType Instances of the type ManagedType represent entity, mapped superclass, and embeddable types. Since: JPA 2.0 Attribute getAttribute
Forum
19

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
19

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
18

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

@AttributeOverrides , and postgresql + own TYPE

even if i wanted to. In structure of DB  is this. -- -- Name: address; Type: TYPE; Schema: artio; Owner: facman --   CREATE TYPE address AS ( street character varying, city character varying ... ); ALTER TYPE artio.address OWNER TO facman; AS you notice, in my project i have more schemats let
Forum
18

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type ... to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached ... in DB Explorer select r.emergency from RecordingMetaData as r you will notice that the type (RSL
Issue
18

Removing of an entity removes also another entity type

ResolverMappings DELETE FROM ToleranceDefinition SELECT rm from ResolverMapping WHERE rm.type = 'interfaces' // there are also other types like 'scopes' em.remove(toleranceDefinition); // the 'attached ... without exception SELECT rm from ResolverMapping WHERE rm.type = 'interfaces' // now the ResolverMappings