About properties

forum_thread

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" #1 2011-04-29 04:30 Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. Howev ...

 
forum_thread

problem when primary key value is zero

I am copying data from a postgres database to objectDB. Some of the rows in the postgres table were created by postgres DDL / SQL insert statements and so do not abide by all JPA rules and recommendations, in particular there are some primary keys with value == 0. These cause problems for objectDB, typically "JPA Unexpected argument as primary key". When using eclipselink, there is a workaround that can be added to persistence.xml like this: #1 2011-08-31 16:32 I am copying data from a postgres database to objectDB. Some of the rows in the postgres table were creat ...

 
api-jdo

FetchGroup.members

Members (fields and properties) of the fetch group.(Annotation Element of javax.jdo.annotations.FetchGroup)

 
api-jpa

javax.persistence.JoinTable

Used in the mapping of associations.(Annotation of JPA)

 
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-jpa

javax.persistence.MapKeyClass

Specifies the type of the map key for associations of type java.util.Map.(Annotation of JPA)

 
api-jpa

ManyToOne.targetEntity

(Optional) The entity class that is the target of the association.(Annotation Element of javax.persistence.ManyToOne)

 
api-jpa

AttributeOverrides.value

(Required) One or more field or property mapping overrides.(Annotation Element of javax.persistence.AttributeOverrides)

 
forum_thread

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/web/WEB-INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy with an Ant script) Object clearly indicates the version. Q: How can one interrogate objectdb for the version at run-time ? #1 2016-08-22 17:07 Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of obj ...

 
issue

Sometimes the ObjectDB throws an internal expeption if a find() was executed

Sometimes the ObjectDB throws an internal exception if a find() was executed. It is a sporadic issue that occurs only with Objectdb 2.7.0_b2 and only if the entites are enhanced. (We don't enabled the new property "objectdb.temp.extended-ref-retrieval" from http://www.objectdb.com/database/forum/1161) With the previous version (2.7.0_b1) we don't get the exceptions. Two stack traces we observed: Bug Version: Priority: Critical Status: Fixed Replies: 1 Type:  Bug ...