Home » Search

About type

71-80 of 200Refresh
Forum
13

Custom collection types

, nevertheless it causes some questions. I checked that i can easily change the type of collection between ... achieve this for collections which are not in java.util package? if this collection type will be used in first app release to allow data to be imported to db, can we next changed this type to standard
Issue
13

delete of a collection in explorer changes type

accidently we used the option delete on a collection of type ArrayList. On doing so the type changed to List. we are using explorer version 2.7.1_02 How can we change that back again ? Is it only an issue with the type of the field as shown by the Explorer or
Forum
13

Failed to generate dynamic type

type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath ... ?   in a doc there is output from enhancer [ObjectDB 2.0] 3 persistable types have been enhanced: test.MyEntity1 test.MyEntity2 test.MyEmbeddable 2 NON persistable types have been enhanced: Main test
Forum
13

Wrong @Id type

their types you will have to 'touch' the objects and store them again, or use an ObjectDB version before the fix, with an UPDATE queries that change the IDs to the correct type). We are using ObjectDB ... . Also we have noticed that using tree view of ObjectDB explorer the type of the id column
JPA Doc
13

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
13

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

fails     EntityType type = metamodel.entity(domainClass);     if (type == null ... the given Metamodel!");     }     this.attribute = type.getId(type.getIdType().getJavaType()); in the debugger is i can see this member m_idType is null type EntityTypeImpl  (id=57) m_attrMap
Forum
13

Enhancer failure: Failed to process class file of type

Stack trace below:   [ObjectDB 2.7.1_02] Failed to process class file of type 'app.model.ClientSession' (error 422) com.objectdb.o.UserException: Failed to process class file of type 'app.model ... .java:33) Caused by: com.objectdb.o.UserException: Failed to generate dynamic type jdk.internal
Forum
13

Inconsistent return types from JDO query

I'm running a JDO query which returns the sum of an int field.  The return type of the Object ... .class) has no effect. The type of a sum expression depends on the type of the field on which it works ... types. I am attaching sample code which reproduces the problem. Thank you for this report
Issue
13

Issue with TYPE expression in Criteria API

.virtual.model.MyCustomer $1 WHERE TYPE($1)=class com.test.model.Customer Exception in thread "main ... persistable type java.lang.Class (error 303) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java ... by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang
Forum
13

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

_03] javax.jdo.JDODataStoreException Too many persistable types (>10) - exceeds evaluation limit ... HAS been performed. [ObjectDB 2.7.2_04] javax.jdo.JDODataStoreException Too many persistable types ... " is from the test computer that throws the "too many persistable types" error.   This is a new error