Home » Search

About retrieve

171-180 of 200Refresh
Forum
1

Memory Leak?

it and then retrieve each of the object one by one. The object is key by Long. Here is the jmap at time1: num ... and other HashMap. Here is the code that retrieves the data. I'm pretty sure I'm not holding objects ... ) {     logger("Retrieved " + j + " objects. Last object: " + d);    }    em.getTransaction().commit
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
Issue
1

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
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