About mapping

api-jpa

MapsId.value

(Optional) The name of the attribute within the composite key to which the relationship attribute corresponds.(Annotation Element of javax.persistence.MapsId)

 
api-jpa

javax.persistence.Lob

Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.(Annotation of JPA)

 
api-jpa

ManyToMany.cascade

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

 
forum_thread

OneToMany Bidirectional Relationship Problem

Hi, I'm pretty certain I'm doing something stupid. I've read everything I can find on OneToMany in the forum and in the JPA docs, but I can't get it to work with 2.4.0_04. I've attached a testcase. I want the owning object present in the child, (in the example, Team to be in Player). Thanks Paul. #1 2012-06-05 07:00 Hi, I'm pretty certain I'm doing something stupid. I've read everything I can find on OneToMa ...

 
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)

 
issue

Pessimistic lock timeout - blocks indefinitely

I've attached a simple test which creates an object then kicks off several threads which each try to update the object. I'm using a pessimistic lock with timeout as follows: Bug Version: 2.3.1 Priority: Normal Status: Fixed Replies: 3 Type:  Bug ...

 
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)

 
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: ... Any hints? The Mapping of class Modell and its member: @ Entity class ...