ObjectDB Database Search
101-150 of 200 resultsPossible cause for "Enhancement of type ... is old and cannot be used"
We get the following log: [2015-06-08 13:07:02 #1 type .user] Enhancement of type com.btc.ep ... :-2962887009206123121) [2015-06-08 13:07:02 #2 type ] Type com.btc.ep.requirement.bl.internal.ScopeRequirementContainerImpl is not enhanced. [2015-06-08 13:07:02 #3 type .user] Enhancement of type com.btc.ep
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 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
|
|
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
|
|
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
|
|
Retrieving JPA Entities
from this automatic cascaded retrieval by specifying a lazy fetch type : @Entity class Employee
|
|
JPA Named Queries
takes a query name and a result type and returns a TypedQuery instance: TypedQuery query = em
|
|
SQL Queries Annotations
to entity fields or scalar types with these detailed annotations: Maps a native query result to a specific
|
|
Defining a JPA Entity Class
more information about defining entity classes, including which types to use for persistent fields
|
|
jakarta.persistence.MapKeyColumn
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyColumn Implemented Interfaces ... is a basic type . If the name element is not specified, it defaults to the concatenation ... to the generated SQL to create a column of the inferred type . Default: "" Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.Converter
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converter Implemented Interfaces: Annotation Target: Type Declares that the annotated class is a converter and specifies ... mapping descriptor. The target type for a converter is determined by the actual type argument of the first
|
|
jakarta.persistence.metamodel.Attribute
Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Attribute Type Parameters: - The type of the represented attribute - The represented type that contains the attribute Represents an attribute of a Java type . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ManagedType
|
|
jakarta.persistence.metamodel.BasicType
Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.BasicType Type Parameters: - The represented basic type Super Interfaces: Type An instance of BasicType represents a basic type (possibly an enumerated , LOB , or temporal type ). Since: Jakarta Persistence (JPA) 2.0 Public Instance
|
|
jakarta.persistence.IdClass
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.IdClass Implemented Interfaces: Annotation Target: Type Specifies a composite primary key type whose fields or properties map to the identifier fields or properties of the annotated entity class. The specified primary key type
|
|
jakarta.persistence.criteria.CommonAbstractCriteria
are typed differently. Criteria queries are typed according to the query result type . Update and delete operations are typed according to the target of the update or delete. Since: Jakarta Persistence ... type ) Create a subquery of the query. Parameters: type - the subquery result type Returns: subquery
|
|
jakarta.persistence.Lob
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Lob Implemented Interfaces ... should be persisted as a large object to a database-native large object (LOB) type . Portable applications should use the Lob annotation when mapping to a database Lob type . The Lob annotation may be used in
|
|
jakarta.persistence.MapKeyEnumerated
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyEnumerated Implemented Interfaces: Annotation Target: Method, Field Specifies the enum type for a map key whose basic type is an enumerated type . The MapKeyEnumerated annotation can be applied to an element collection or
|
|
jakarta.persistence.criteria.CriteriaUpdate
Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaUpdate Type Parameters: - the entity type that is the target of the update Super Interfaces: CommonAbstractCriteria ... of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.CriteriaDelete
Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaDelete Type Parameters: - the entity type that is the target of the DELETE Super Interfaces: CommonAbstractCriteria ... that is being deleted. Parameters: entity - metamodel entity representing the entity of type X Returns: query root
|
|
jakarta.persistence.MapKeyClass
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyClass Implemented Interfaces: Annotation Target: Method, Field Specifies the type of the map key for associations of type Map . The map key can be a basic type , an embeddable class, or an entity. If the map is specified using Java
|
|
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
|
|
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
|
|
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
|
|
Step 3: Create an ObjectDB Data Source
of available data source types . Enter data source name (e.g. ObjectDB Points ) and click Next . Specify
|