About mapped

forum_thread

Spring and packagesToScan

Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting Type XXX is not found   #1 2014-04-04 16:54 Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting ...

 
forum_thread

String representation of a query

Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have any method like "getQueryString" or "getDatabaseQuery", maybe it's going to be added in near future? It would be very helpfull to have something similiar to Hibernate etc : findAllBooks.unwrap(org.hibernate.Query.class).getQueryString() I would like to measure time of query execution and log that information with JPQL string and parameters map to find and optimize the most ineffective cases. #1 2012-12-18 10:29 Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have a ...

 
api-jpa

ManyToMany.cascade

(Optional) The operations that must be cascaded to the target of the association.(Annotation Element of javax.persistence.ManyToMany)

 
api-jpa

EntityResult.fields

Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class.(Annotation Element of javax.persistence.EntityResult)

 
api-jdo

Constants.ORM_DTD_RESOURCE

The name of the resource for the DTD of the standard JDO object-relational mapping metadata file.(Static Field of javax.jdo.Constants)

 
api-jpa

javax.persistence.FieldResult

Is used to map the columns specified in the SELECT list of the query to the properties or fields of the entity class.(Annotation of JPA)

 
api-jpa

javax.persistence.NamedQueries

Specifies multiple named Java Persistence query language queries.(Annotation of JPA)

 
api-jpa

AssociationOverrides.value

(Required) The association override mappings that are to be applied to the relationship field or property .(Annotation Element of javax.persistence.AssociationOverrides)

 
api-jpa

SqlResultSetMapping.entities

Specifies the result set mapping to entities.(Annotation Element of javax.persistence.SqlResultSetMapping)

 
forum_thread

Failed to write the value of field using reflection (error 363) on LAZY fetch

Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member (e.g. a Modell has several Artikels) . When I remove the LAZY hint on the query execution it works. Any hints why this can happen? The Mapping of class Modell and its member: #1 2015-12-18 17:42 Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query whe ...