About WRITE

181-190 of 200Refresh
Forum
1

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. for (int page=0; page < resultCount; page+=pageSize) {     Query q = em.createQuery("query
Forum
1

Java 9 support

write operation of about 31 MB per second!  (10 MB in 320 ms.)  Reads are about 43 MB per second
Forum
1

java.lang.NullPointerException when using ORDER BY

member like r.startDateTime.   As I was writing the previous post it occurred to me try ORDER BY
Forum
1

java.sql.Time field off by 30 minutes

Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql.Time field. On writing and readback, the field is found to be 30 minutes off. It is observed on objectdb explorer as well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC+30min
Forum
1

JDO manual

Request for a new JDO manual, covering ODB 2. Please subscribe to the ObjectDB 2 JDO Manual issue. Because writing a new manual and then maintaining two similar manuals, one for JPA and the other for JDO requires massive work, this will be done only if there is a sufficient demand.
Forum
1

JPA query of a Set of terms

Hi, Is it possible to write a JPA query to select objects that contain a collection of elements? For example, suppose I have a table that maps a search terms to pages: @Entity public class SearchIndex { @Index SearchTerm term; @Index Page page; } Now suppose I have an array
Issue
1

Large query parameter - out of memory

I have an entity object composed of an id, large data in the form of a string and the hashcode of the string as an index. The attached test saves 2000 of these objects, writing the data to a txt file as it goes. It then loops through the data from the file and queries for the entity id based
Forum
1

Left join fetch behaviour doesn't retrieve children?

();   if (!em.getTransaction().isActive()) {    em.getTransaction().begin();   }   // Write 100 000
Forum
1

Lock prevents PersistenceManager.close when retainValues = false

I have code in which a PersistenceManager is obtained, used in several transactions, and then closed.  If those transactions involves writes, then the code jams (use of VisualVM shows this is the result of a lock) when I try to close the persistence manager, but only if 'retainValues' is set
Forum
1

locks on pure query activities

="false" path="." max="128mb" />