Home » Search

About types

61-70 of 200Refresh
Forum
14

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
14

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

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
14

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
14

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
14

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

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
14

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
14

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
14

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