About array

forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... contains a byte[] and uses a soft reference to make that array eligible for GC when the JVM does a full GC. private byte ... ] data ; // use makeDirty() when changing this array or any of its elements private transient SoftReference<byte ...

 
issue

Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb.com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in further version. Can you implement it that ObjectDB used temporary files? ... the first level cache (by flush() and detach()). But an array of bytes, any ObjectDB memory, still allocates a lot of memory. ... reference_path_of_byte_array_32.PNG reference_path_of_byte_array_152.PNG reference_path_of_byte_array_4096.PNG ...

 
api-jpa

javax.persistence.PessimisticLockScope

Defines the values of the javax.persistence.lock.scope property for pessimistic locking.(Enum of JPA)

 
forum_thread

High memory consumption even after close() of EntityManagerFactory

Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not even after the EntityManagerFactory closed. We created a small test with which you can observe similar behavior. The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove this query, all is well. The memory is only released after we re-run a query (on a different database). ... which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not ... from 400 to 100 MB. But, the 100 MB byte array are still not released. The option objectdb.temp.avoid-page-recycle ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... to any date type. From any collection or array type to any collection or array type, as long as the elements are convertible (e.g. from int[] ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... second. But Device is a large object with an array of 100 strings (by the way, List<String> is preferred over ... instances per second, and with null in the String[] array the rate goes up to 200,000 entity objects per second: [ ...

 
release

2.7.3_01

... in query selection of embedded object and array fields. Fixed an  InternalException on some JDO ... in loading mapped (inverse) to-many relationship into an array field ([]) ( issue #195 ). Fixed a bug in loading mapped ...

 
release

2.7.3

... in query selection of embedded object and array fields. Fixed an  InternalException on some JDO ... in loading mapped (inverse) to-many relationship into an array field ([]) ( issue #195 ). Fixed a bug in loading mapped ...

 
release

2.7.2

... in query selection of embedded object and array fields. Fixed an  InternalException on some JDO ... in loading mapped (inverse) to-many relationship into an array field ([]) ( issue #195 ). Fixed a bug in loading mapped ...

 
release

2.5.1

... in loading mapped (inverse) to-many relationship into an array field ([]) ( issue #195 ). Fixed a bug in loading mapped ... . Added support of using persistent array fields with parameterized type . Added error on using ...