About retrieve

191-200 of 200Refresh
Issue
2

Best practise loading big data

our implementation after retrieving them. All MyStepBlocks and all MyStep and half of the MyValue objects ... never releases them or not run at all. This seems to be uncommon for retrieval of 1,000,000 objects but maybe could happen with some heap size and GC setting. Can you check if GC is run during the retrieval
Forum
2

Using the wrong class to access a database

"); EntityManager em = emf.createEntityManager(); create(em); retrieve(em ... (); } static void retrieve(EntityManager em) { // 1 Query q1 = em.createQuery("SELECT COUNT(p) FROM ... the retrieve method, no data is added. The package name is 'com.objectdb.test2'. The Point class
Forum
1

Create simple index for a Id field

that reading is a complex task, because you first have to lookup and then retrieve the object ... to retrieve objects is by the key (or ID). Maybe ObjectDB is not the best option if I want to perform massive reads? ObjectDB is faster than other DBMS, not just in writing but also in retrieval and reading
Issue
1

Internal error

. It seems to be related to an an attempt to retrieve an entity object that is part of the query results ... after the exception was thrown? The exception at #1 was thrown during an attempt to retrieve an object in a query ... was thrown during an attempt to retrieve an object in a query result, which was not found in the database
Forum
1

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

);   findAllGuests();     }     // Retrieves all the guests:     public List getAllGuests ... );     }     // Retrieves all the guests:     public List getAllGuests() {         TypedQuery query = em ... () );   if ( persistedGuest == null ) {    this.em.persist(guest);   }     }     // Retrieves all the guests
Forum
1

Optimistic locking: prevent version increment on entity collection attribute

when the object is retrieved. Hello, thank you for your reply. I have added some code to re-retrieve ... with a new EntityManager (or cleared one) should re-retrieve the original collection of readings
Forum
1

Problem on JPA Merge Entity.

and save statement. Works! testUpdate Retrieve statement from database, retrieve some element from ... Retrieve statement from database and display it. updateAlInDao Make the same operation that testUpdate
Forum
1

Project runs in Eclipse but not when exported to runnable jar

of a model glider. I decided to use objectdb as a way to persist the values for later retrieval ... running the system through eclipse. The full retrieval is not yet implemented, I concentrated on understanding the basics before working out how to effeciently commit and retrieve the main data. I'm
Forum
1

Query results are not up to date for entities, not primitives

may be slightly more efficient than retrieving entity objects and then updating ... generic functions to build generic TypedQuerys. I just realized that the data retrieving up to date if I ... (); The update query by itself is fine, the problem is with the exact way in which data is retrieved later
Forum
1

Server closes if large query runs out of memory

. ObjectDB surely has some idea of the sizes of objects that it persists and retrieves, and so should be able to fail safely if it finds too many objects being retrieved to fit into memory ... retrieval, whereas perhaps JDO deletion does.  Would using JPA for large deletions be less demanding