About execute

forum_thread

Caching/Paging Questions...

Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects): Q1: Two queries with a big overlap between their result sets. If I query the first set and hold the results in memory somehow, would that speed up the execution of the second query since many of its result objects already created and reside in memory ? #1 2011-01-02 04:12 Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects): Q1: ...

 
api-jpa

javax.persistence.FlushModeType

Flush mode setting.(Enum of JPA)

 
api-jpa

NamedQuery.lockMode

(Optional) The lock mode type to use in query execution.(Annotation Element of javax.persistence.NamedQuery)

 
api-jpa

javax.persistence.NamedQuery

Specifies a static, named query in the Java Persistence query language.(Annotation of JPA)

 
forum_thread

Access entity version before commit transaction

Hi, I have a usecase where I need to write the updated entity id to the database before commiting the transaction: 1. Change entity field e.g. from a to b 2. Create a change entry in database containing the new version of the entity ... ) ; String id = transactional . execute ( transaction - > { Flight flight ... } ) ;   transactional . execute ( transaction - > { Flight flight ...

 
api-jdo

executeWithMap(parameters)

Execute the query and return the filtered Collection.(Method of javax.jdo.Query)

 
api-jpa

setLockMode(lockMode)

Set the lock mode type to be used for the query execution.(Method of javax.persistence.TypedQuery)

 
forum_thread

Bidirectional OneToMany is slow on updated items

Hello, I have a problem with the following situation. I insert persons with addresses. In the first run, they are all new with a new address. It runs fast. In the second run, the persons are all loaded and got a second address. This seams to be much slower. The Entities are all enhanced by the javaagent (which you can see in the contained eclipse launch configuration) Is there any way to speed it up?       #1 2013-02-22 10:02 Hello, I have a problem with the following situation. I insert persons with addresses. In the fir ...

 
api-jdo

javax.jdo.JDOUserCallbackException

This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners.(Exception of JDO)

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction. Working with the Java Persistence API (JPA) consists of using the following interfaces: This page covers the following topics: Overview EntityManagerFactory EntityManager EntityTransac ...