ObjectDB Database Search

151-200 of 200 results

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

com.objectdb.o.TEX: Type ... is not found, for a class that's already been enhanced successfully.

this. ----------------------------------------------------------------------------------------------- [ObjectDB 2.8.1 Enhancer] 16 persistable types ... .MRTemplate     mr.model.MRTrader 11 NON persistable types have been enhanced:   ... -2019-09-12.conf [2019-09-13 17:13:02 #7 type ]  Type common.app.Model is not enhanced. [2019-09-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 ... as a pair of ( type + id) rather than just an id. This enables faster navigation between objects, as retrieval of an object is faster when its exact type is known. Following your request we added a new

Failed to generate dynamic type objectdb.java.util.ArrayList

.objectdb.o.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 ... .objectdb.o.UserException: Failed to generate dynamic type objectdb.java.util.HashSet com.objectdb.o

Enhancement of type is old and cannot be used

:   [2021-01-26 15:20:33 #22 type .user] Enhancement of type eu.extech.quant.listing.data ... :33 #23 type ] Type eu.extech.quant.listing.data.ProductListingRequest is not enhanced. [2021-01-26 15:20:33 #24 type ] Type eu.extech.quant.listing.data.ProductListingStateChangeList is not enhanced

Cast in typed query

the generic list type : @ElementCollection(fetch = FetchType.EAGER) private List types  = null; Now I can use "instanceof" within a query in order to select only elements of the specific type : SELECT o FROM OtherType o JOIN o. types t WHERE t instanceof MySpecificType But how can I cast

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 ... . If you run in DB Explorer select r.emergency from RecordingMetaData as r you will notice that the type (RSL

@AttributeOverrides , and postgresql + own TYPE

changes 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

DB Explorer cannot be opened after schema package renaming of entity types

The DB Explorer cannot be opened after schema package renaming of entity types because it seems that deprecated entity types which are removed from our java project break the database. In the database the entity types and deprecated entity types can be part of the identical package. The schema

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

Wrong @Id type

/ To repair IDs that have already changed their types you will have to 'touch' the objects and store ... to the correct type ). support Support We are using ObjectDB 2.4.6_07 in our production enviroment and 2.5.6 ... of ObjectDB explorer the type of the id column is displayed as long, as it shold be, but selecting

Failed to generate dynamic type

dynamic type  com.package.RootContainer (error 361) It seems that all dependent classes ... 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.Manager   what does

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 ... to generate dynamic type jdk.internal.reflect.SerializationConstructorAccessorImpl    

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

_03] javax.jdo.JDODataStoreException Too many persistable types (10) - exceeds evaluation limit (error ... . [ObjectDB 2.7.2_04] javax.jdo.JDODataStoreException Too many persistable types (10) - exceeds ... _xxx" is from the test computer that throws the "too many persistable types " error.  

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 ... setResultClass(Long.class) has no effect. sjzlondon Steve Zara The type of a sum expression depends on the type ... the query and specify the relevant types . support Support I am attaching sample code which reproduces

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

code fails     EntityType type = metamodel.entity(domainClass);     if ( type == null) {     throw new IllegalArgumentException(    ... ;}     this.attribute = type .getId( type .getIdType().getJavaType()); in

Type ... is not defined as an entity (@Entity is missing) (error 302)

the CultureRqst leads to the following exceptions: [ObjectDB 2.2.8_08] javax.jdo.JDOUserException Type com.epimss ... types for ObjectDB are available only in one Eclipse bundle.     support Support Hello, I ... " [ObjectDB 2.6.4_07] javax.jdo.JDOUserException Type java.util.ArrayList is not defined as an entity

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB ... Serializable type if you enable this ability in the configuration. But using this feature is not recommended. ObjectDB provides better support (i.e. more efficient and portable) for specific types  

Failed to enhance dynamic type

to generate dynamic type com.quasado.galaxy.foundation.api.language.LanguageContext I am curious why he does even try to generate dynamic type ?? Can he simply ignore such things and enhance ... to overcome this by generating a dynamic synthetic type . Usually it succeed but in some cases it fails

"Unsupported auto value type java.lang.String" when persisting new instance

"main" [ObjectDB 2.3.2] javax.persistence.PersistenceException Unsupported auto value type java.lang ... .java:71) Caused by: com.objectdb.o.UserException: Unsupported auto value type java.lang.String ... Kristijan You cannot use @GeneratedValue for string Id only for numeric Ids. Id fields whose type is string have to be assigned a value by the application. support Support

Attempt to store an instance of a non persistable type

: Attempt to store an instance of a non persistable type technology.tavla.common.device.data.log.v2 ... : Attempt to store an instance of a non persistable type technology.tavla.common.device.data.log.v2 ... loading issues, e.g. loading JPA types from 2 different class loaders. support Support I already tried

Too many persistable types (>10) - exceeds evaluation limit

for this and get a JdoDataStoreException: Too many persistable types (10) - exceeds evaluation limit ... in it. And if other entity types are in the db I would expect the error message to occur at the begin

type.loader java.lang.ClassNotFoundException

all) encountered classes: [2011-05-31 09:16:24 #5 type .loader] java.lang.ClassNotFoundException: com.greensoft ... .lang.Thread.run(Thread.java:655) [2011-05-31 09:16:24 #6 type .loader] java.lang.ClassNotFoundException

Invalid file type for enhancement (error 104)

Trying to run enhancement, I get:    [ObjectDB 2.5.5_05] Invalid file type for enhancement: /home/steve/java/spiffymap-svn/sealog-core/build/classes/com/spiffymap/sealog/model/Audit.java (error 104) com.objectdb.o.UserException: Invalid file type for enhancement: /home/steve/java

Attempt to store an instance of a non persistable type java.net.URL

; webel Dr Darren Kelly ObjectDB supports persisting serializable types , so it should also support ... and for other platforms. It is less efficient than simple types and embedded objects. Support of serialized

Intermittent Exception "Attempt to update types in read only mode"

2.4.1_06] javax.persistence.PersistenceException Attempt to update types in read only mode (error ... .UserException: Attempt to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb

com.objectdb.o.UserException: Failed to generate dynamic type

.UserException: Failed to generate dynamic type Entities.AbstractLong at com.objectdb.o.MSG.d(MSG.java:75 ... more [ObjectDB 2.6.1_05] Failed to generate dynamic type Entities.AbstractLong (error 361) The class

ClassCastException of same object type

so that different types of storage are possible in order to allow previous data to still be read from csv files

_PersistenceException: Type is not found on getSingleResult.

that's been initialized i get this error: com.objectdb.o._PersistenceException: Type Estudiante is not found

JPA inheritance issue with ObjectDB - Field not found in type error

this query, I get the following error: Error executing query: Field 'retired' is not found in type 'com

jakarta.persistence.Tuple

Persistence (JPA) 1.0 X get ( String alias , Class type ) Get the value of the tuple element to which the specified alias has been assigned. Parameters: alias - alias assigned to tuple element type ... to the specified type . Since: Jakarta Persistence (JPA) 1.0 Object get ( String alias ) Get the value

jakarta.persistence.Temporal

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Temporal Implemented Interfaces ... of type java.util.Date and java.util.Calendar . It may only be specified for fields or properties of these types . The Temporal annotation may be used in conjunction with the Basic annotation, the Id

jakarta.persistence.criteria.CriteriaQuery.multiselect(Selection...)

in the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends on the specification of the type of the criteria query object ... : If the type of the criteria query is CriteriaQuery (i.e., a criteria query object created by

jakarta.persistence.criteria.CriteriaQuery.multiselect(List)

the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends on the specification of the type of the criteria query object created as ... follows: If the type of the criteria query is CriteriaQuery (i.e., a criteria query object created

Removing of an entity removes also another entity type

rm from ResolverMapping WHERE rm. type = 'interfaces' // there are also other types like 'scopes' em ... WHERE rm. type = 'interfaces' // now the ResolverMappings with type = 'interfaces' are not available anymore, the result is empty, only the ResolverMappings with type = 'scopes' are still available in

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 ... Hans-Georg Zwicker Is it only an issue with the type of the field as shown by the Explorer or ... have been committed / saved). support Support It is only the type of the filed, don't care

Issue with TYPE expression in Criteria API

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

Unlimited JPA Persistable Types

Ashton Hogan Actually you can persist any Serializable type by setting the configuration . There is no point in persisting most of the non serializable types such as Thread , because when retrieved from ... it wouldn't matter what the object type is, surely? ThreaT Ashton Hogan

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

if this particular exception were a type /subclass of PersistenceException that we can catch and handle ... failed due to TEX: Type AbstractClientSummary is not found com.objectdb.o._PersistenceException:45 com ... . Introducing the type to the database prior to the query worked as suggested. manager.getMetamodel

Enhancer option to enhance all persitable types

Hello, can you add an option to the Class Enhancer to enhance all persistable types and ignore the NON persistable types . Like the Load Time Enhancement. btc_es BTC EmbeddedSystems A new argument ... .Enhancer -noaware ... It should exclude enhancing non persistable types (i.e. persistence aware classes

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

over an @entity type I get a generics error. The generic for loop is:  for (Steel s ... understand the circumstances) gives this error: incompatible types found: java.lang.Object required

jakarta.persistence.GenerationType

for the particular database. For a primary key of type java.util.UUID or String , this is equivalent to UUID . For a primary key of type Long , Integer , long , or int , the provider selects between TABLE ... primary keys for the entity using a database identity column. May be used to generate primary keys of type

jakarta.persistence.NamedAttributeNode

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedAttributeNode Implemented ... ) 1.0 String subgraph (Optional) If the attribute references a managed type that has its own AttributeNodes, this element is used to refer to that NamedSubgraph definition. If the target type

jakarta.persistence.MapKeyTemporal

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyTemporal Implemented ... of type java.util.Date and java.util.Calendar . It may only be specified for map keys of these types . The MapKeyTemporal annotation can be applied to an element collection or relationship of type java.util

jakarta.persistence.EmbeddedId

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.EmbeddedId Implemented Interfaces ... of an entity class or mapped superclass is the composite primary key of the entity. The type of the annotated field or property must be an embeddable type , and must be explicitly annotated Embeddable

jakarta.persistence.DiscriminatorValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorValue Implemented Interfaces: Annotation Target: Type Specifies the value of the discriminator column for the annotated entity type . The DiscriminatorValue annotation can only be specified on a concrete entity class

jakarta.persistence.EnumType

available options for mapping enumerated types . The values of this enumeration specify how a persistent property or field whose type is a Java enum type should be persisted. See Also: Enumerated EnumeratedValue Since: Jakarta Persistence (JPA) 1.0 The JPA Persistable Types article explains

jakarta.persistence.CollectionTable

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.CollectionTable Implemented ... of basic or embeddable types . Applied to the collection-valued field or property. By default, the columns of the collection table that correspond to the embeddable class or basic type are derived

jakarta.persistence.Parameter

Jakarta Persistence (JPA) Interface jakarta.persistence.Parameter Type Parameters: - the type of the parameter Type for query parameter objects. See Also: Query TypedQuery Since: Jakarta Persistence ... Class getParameterType () Return the Java type of the parameter. Values bound to the parameter