About execute

191-200 of 200Refresh
Forum
1

UserException - Object User#2 belongs to another EntityManager

CDI. Problem on method execution, which runs a NamedQuery: com.objectdb.o.UserException - Object 'com ... should be closed after each method's execution, therefore this error shouldn't appear. Thanks. This exception ... should be closed when the second @Stateless executes the method, so the User entity shouldn't be mixed. Sorry
Issue
1

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

(ViewHandlerWrapper.java:288) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase ... .grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229) at com.sun.grizzly ... .DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute
Forum
1

Access entity version before commit transaction

transactional = context.getInstance(Transactional.class);         String id = transactional.execute ... );             // flight.version is 1             return flight.getId();         });         transactional.execute ... version 2         });         transactional.execute(transaction -> {             Flight flight
Forum
1

Async query ObjectDb

/Statement.html In JPA query execution is always synchronous. However, you can execute a query asynchronously by using a separate thread for that query execution. You will also need a separate EntityManager for that thread. Stopping a running query is not supported but restricting execution time is supported. Teleca
Forum
1

Check for index existence ?

by ObjectDb ? Regards, Xirt You can see query execution details, including usage of indexes: When you execute a query in the Explorer in the log pane. In the log file if you enable query logging in ... are executed on the server, enhancement messages are client side). I am using the embedded mode
Issue
1

Different behavior for two equal queries

no results... Alex Here're also the execution plans from the explorer if that helps: First query ... too many executions in it.. because already the FIRST where clause should be a hit and the query execution be finished as the rest are just ORs, no?? Alex Maybe this is the result of navigation
Issue
1

Error 990 when querying a class with persistence-capable-superclass

.execute0(JdoQuery.java:811) at com.objectdb.jdo.JdoQuery.execute(JdoQuery.java:720) at com ... (Long) query.execute(); All queries (eg ones with parameters) on the same class fail with the same ... , and the cause is unknown. It happens during cleanup of query execution in a finally block. Maybe
Forum
1

Failed to read DB file while online backup is running

.objectdb.jdo.JdoQuery.execute(JdoQuery.java:748)     Build 2.6.2_05 changed only online backup code ... .execute0(JdoQuery.java:844) at com.objectdb.jdo.JdoQuery.execute(JdoQuery.java:748)   These stack traces ... (at least once), are executing without mistake from starting of the application up to the first
Issue
1

Issue with UPPER ?

.phone!=null),($6!=null))) is true - execute only step 8a2. If or(or(or(or(or(or(or(or(or(and(like ... ))),and(like(toUpper($6.phone),toUpper('%81%')),($6.phone!=null),($6!=null))) is false - execute only step ... ------------------------------------ [Step 8a3a] If ($3!=null) is true - execute only step 8a3e
Forum
1

Level 2 cache not hit in @ManyToOne

hit. Problem 2: executing a query that returns User with id 5,6,7 (or any other) takes fresh data ... cache. Queries work differently, because every query execution requires at least one client-server round ... ObjectDB to return object IDs rather than full objects in query results in the query execution round trip