Home » Search

About retrieve

171-180 of 200Refresh
Forum
1

multi thread application, id field sporadically null

you create, persist and retrieve the objects. Except the id field, are other fields initialized correctly ... ? It seems impossible to retrieve an object from the database without its id, since the first thing in every object retrieval is setting the id. Maybe you retrieve a cached object from memory, which is a new object
Issue
1

new objects not available in mappedBy associations

when the object is retrieved from the database again. Try to refresh the department object ... /persistence/retrieve#Retrieval_by_Refresh > If the mappedby tag maps to: > SELECT e from EMPLOYEE e ... already contains a value - it will not be run again unless the object is retrieved again from the database
Forum
1

Performance with large databases

to take the most time are those that retrieve data from the store. This may be explained by examining the ratio between ... should these be about the same speed? Retrieval by ID is expected to be faster, because it enables direct access. Retrieval by an indexed field is usually composed of two steps: First finding the ID and then retrieval by ID. sjzlondon
Forum
1

Query problem after transaction commit

.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old ... explorer on the server, my client program can retrieve all the records (no program restart or ... . If you could retrieve old objects but not the recently stored objects then this could be a cache issue
Issue
1

Removing of an entity removes also another entity type

are created and persisted again. The ResolverMapping entities are retrieved from database by a query ... .remove(obj). Directly after remove we try to retrieve again the ResolverMapping entities from ... may be slightly more efficient than retrieving entity objects and then updating them, but it should be used
Forum
1

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

Activation Issue

? Regards Ralph Hi again, I think I just found out why this happens. Spring Data is retrieving ... only the server machine in client-server mode. Please check if maybe for retrieving the meta model ... (AbstractAutowireCapableBeanFactory.java:1550) This seems to happen when using the Retrieving Metamodel
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