About field

api-jpa

OneToMany.mappedBy

The field that owns the relationship.(Annotation Element of javax.persistence.OneToMany)

 
api-jpa

javax.persistence.Transient

Specifies that the property or field is not persistent.(Annotation of JPA)

 
api-jpa

javax.persistence.EmbeddedId

Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class.(Annotation of JPA)

 
forum_thread

Schema Update: class hierarchy change

Hello, we try to change the class hierarchy of an Entity. You wrote www.objectdb.com/database/forum/899 that ObjectDB support automatic schema evolution for adding and removing fields and for class hierarchy change.   But our small test failed: At first create a DataBase with one Object of MyEntity ... to read the value of field field profileMigration.classhierachychange.Test$NamedEntity.name using ... com.objectdb.o.UserException: Failed to read the value of field field profileMigration.classhierachychange.Test$NamedEntity.name using ...

 
manual

JPA Metamodel API

Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model.... Page... interface provides methods for retrieving field and property details. For example: // Get the field (or property) name: String name = attr. getName getName() ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... a single object, every column represents a persistent field, and the content of a cell is the value of a single field in a single database object. This type of viewer is useful for viewing ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... a single object, every column represents a persistent field, and the content of a cell is the value of a single field in a single database object. This type of viewer is useful for viewing ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... a single object, every column represents a persistent field, and the content of a cell is the value of a single field in a single database object. This type of viewer is useful for viewing ...

 
forum_thread

JPA vs JDO - which is more efficient for OneToMany queries?

I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically typed. For example: Assume there are Customers and Orders.... reference in Order , you can use an inverse / mapped-by field in Customer as demonstrated and explained at ... reference and on the other side you define an inverse field, which is implemented by running a query (and has no real value in the ... } Are you saying that the Customer.orders field has no value in the database, yet I can find all the orders thus: ...

 
issue

Enhanced classes problem

Hell, we have problem with the OEM enhancement licencing. When we used runtime licencing using machine activation code, everything works fine. But when we enhanced our classes with OEM licence, following errors occurs: ... Failed to set reference value of field field eu.ysoft.safeq.core.cache.entity.CacheableJobStat.jais using enhanced ... Failed to set reference value of field field eu.ysoft.safeq.core.cache.entity.CacheableJobStat.jais using ...