ObjectDB Database Search

101-150 of 200 results

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

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

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

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

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

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

I'm trying to use two EntityManager with Spring Boot, but no luck with 'Too many persistable types (10) - exceeds evaluation limit' at second database. My purpose is converting database (converting model entity. same class name but different package). Single application with Spring-Boot 2.1.8

Can't get arraylist/vector type attributes

I have a class that contains some attributes of type Vector (also tried with ArrayList and same happens). When I try to get an object from that class doing using the find method it works fine, I get the object. But when I call the close method to close the EntityManager the information from

Activated ObjectDB still throws "Too many persistable types"

I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com.objectdb.o.UserException: Too many persistable types (10) - exceeds evaluation limit I have already reactivated and checked that my objectdb.conf is correctly used (by inserting random chars

Entity Type is not found (error 301) in Query

Entity Type is not found (error 301) in Query

@ElementCollection of type enum

@ElementCollection of type enum

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

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

jakarta.persistence.LockModeType

LockModeType.OPTIMISTIC and OPTIMISTIC_FORCE_INCREMENT . The lock mode types READ and WRITE ... applications. The semantics of requesting locks of type LockModeType.OPTIMISTIC and LockModeType.OPTIMISTIC_FORCE_INCREMENT are the following. If transaction T1 calls for a lock of type LockModeType

jakarta.persistence.ColumnResult

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ColumnResult Implemented Interfaces ... the name of a column in the SELECT list — i.e., column alias, if applicable. Scalar result types ... (JPA) 1.0 Class type (Optional) The Java type to which the column type is to be mapped. If the type

jakarta.persistence.Entity

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Entity Implemented Interfaces: Annotation Target: Type Declares that the annotated class is an entity. The annotated entity class ... type maps to a single column in one of the tables mapped by the entity, a field of property

jakarta.persistence.DiscriminatorColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorColumn Implemented Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_TABLE and JOINED ... , the name of the discriminator column defaults to "DTYPE" and the discriminator type

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

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether

type in http://www.objectdb.com/java/jpa/query/criteria serParameter - setParamether ravshansbox Ravshan Thanks. It was fixed now to setParameter . support Support

Add Type level permissions to ObjectDB Server

Add Type level permissions to ObjectDB Server

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

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

jakarta.persistence.GenerationType

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

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 Date and 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 Map in conjunction

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.metamodel.ManagedType.getSingularAttribute(String,Class)

getSingularAttribute (    String name ,    Class type ) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type . Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: single

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String,Class)

getDeclaredSingularAttribute (    String name ,    Class type ) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type . Parameters: name - the name of the represented attribute type - the type of the represented

jakarta.persistence.Id

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Id Implemented Interfaces ... to which the Id annotation is applied should have one of the following types : any Java primitive type ; any primitive wrapper type ; String ; UUID ; Date ; Date ; BigDecimal ; BigInteger . The mapped column

jakarta.persistence.DiscriminatorType

, Serializable Defines supported types of the discriminator column. See Also: DiscriminatorColumn ... the discriminator type . Since: Jakarta Persistence (JPA) 1.0 INTEGER Integer as the discriminator type . Since: Jakarta Persistence (JPA) 1.0 STRING String as the discriminator type . Since: Jakarta Persistence (JPA

jakarta.persistence.ElementCollection

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or ... Elements Class targetClass (Optional) The basic or embeddable class that is the element type

jakarta.persistence.EnumeratedValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.EnumeratedValue Implemented Interfaces: Annotation Target: Field Specifies that an annotated field of a Java enum type is the source ... , and must be of type : byte , short , or int for EnumType.ORDINAL , or String for EnumType.STRING

jakarta.persistence.criteria.TemporalField

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.TemporalField Type Parameters: - the resulting type of the extracted value - the temporal type (date, time, or datetime) Each instance represents a type of field which can be extracted from a date, time, or datetime

jakarta.persistence.criteria.Selection

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Selection Type Parameters: - the type of the selection item Super Interfaces: TupleElement The Selection interface defines an item ... ) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement

jakarta.persistence.metamodel.Bindable.BindableType

Persistence (JPA) 1.0 Enum Constants ENTITY_ TYPE Entity type . See Also: EntityType Since: Jakarta Persistence (JPA) 1.0 PLURAL_ATTRIBUTE Multivalued attribute type , that is, a collection. See Also: PluralAttribute Since: Jakarta Persistence (JPA) 1.0 SINGULAR_ATTRIBUTE Single-valued attribute type

jakarta.persistence.TupleElement

Jakarta Persistence (JPA) Interface jakarta.persistence.TupleElement Type Parameters: - the type ... . Since: Jakarta Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.getBindableJavaType()

getBindableJavaType() Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_ TYPE , the Java type of the represented entity or attribute is returned. Returns: Java type . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getMap(String,Class,Class)

the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types . Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns: MapAttribute

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class)

) Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types . Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns