Home » Search

About timeout

1-10 of 63Refresh
Manual
110

Setting and Tuning of JPA Queries

Hints ObjectDB supports the following query hints: "javax.persistence.query.timeout" - sets maximum query execution time in milliseconds. A QueryTimeoutException is thrown if timeout is exceeded. "javax.persistence.lock.timeout" - sets maximum waiting time for pessimistic locks, when pessimistic
Manual
105

Locking in JPA

(on the second lock request). Pessimistic Lock Timeout By default, when a pessimistic lock conflict occurs a LockTimeoutException is thrown immediately. The "javax.persistence.lock.timeout" hint ... :            
Manual
51

General Settings and Logging

: timeout="0 ... -timeout="0" /> The element has one attribute, inactivity-timeout, which specifies when network sockets become obsolete as a result of inactivity. The value is the timeout in seconds, where 0
Forum
33

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts ... for a specific time. The hint property is: "javax.persistence.lock.timeout" I have a situation ... the meantime, I'll use an optimistic lock and fail on stale updates. Support of pessimistic lock timeout
Issue
31

Pessimistic lock timeout - blocks indefinitely

to update the object. I'm using a pessimistic lock with timeout as follows: Map properties = new HashMap(); properties.put("javax.persistence.lock.timeout", 5000 ... killed the test after a min or so). If I set the timeout to less than 1000ms the blocked threads
Forum
29

Set timeout for BatchQueryItr

wonder if it's possible to put a timeout for too long query. Regards, Xirt Here is the stack trace ... ) You can set a query execution timeout as a query hint. The many BatchQueryItr files may indicate
Tutorial
24

Step 6: Set the Spring XML

-mapping> timeout> 30 timeout
Tutorial
24

Step 6: Set the Spring XML

timeout> 30 timeout> index.jsp
JPA Doc
17

javax.persistence.TypedQuery

- if the statement execution exceeds the query timeout value set and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set ... - if the query execution exceeds the query timeout value set and only the statement is rolled
Result
17

ObjectDB Object Database Features

and timeout. Caching L1 entity object cache (per EntityManager). L2 shared entity data cache