About types

61-70 of 200Refresh
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
Forum
13

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

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
13

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