ObjectDB Database Search

51-91 of 91 results

Problem with distinct select, order by and equivalent alias/attribute path

de.solvit.objectdbtest.entity.Street; import java.util. Arrays ; import java.util.List; import java.util ... class Main {     private static final List locations = Arrays .asList(    ... ;  );     private static final List streets = Arrays .asList(     

Unable to convert 1.x odb file to 2.x

check the attachments. I believe this could be caused by having an array of objects as the value in ... data. support Support Thanks for your help. The issue with the object array in a map I will solve via some migration to a structure where the value in the map will be a user defined class containing the array . jakab Gergely Jakab

Saving custom list which implements java.util.List fails

: ... For example, the Arrays .asList method returns an instance of an internal Java collection type ... EntityWithList { private List words = Arrays .asList("not", "ArrayList"); } @Entity public class Point ... defined classes. Notice, however, that similarly to the  Arrays .asList example from the manual

High memory consumption even after close() of EntityManagerFactory

which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC ... byte array are still not released. The option objectdb.temp.avoid-page-recycle makes no change ... (line 92). btc_es BTC EmbeddedSystems Addendum: With the configuration is the byte array only 3MB. I

@OneToMany(fetch = FetchType.LAZY) list is always null

the entity containing another one (OneToOne) entity with a byte[] array without calling the getter of the array of the child entity, the array becomes null. public class ByteData { // ... id private byte

Storing Images

/UML2. to persist the images, i just store an array of bytes (byte[]) representing the encoded images.  i.e. a class which has a field of type byte array .  to turn the bytes into an image, i ... well for me, but I'm guessing there's an easier way. so, yes, the equivalent of blobs (byte arrays ) are supported

Soft Reference Object Cache Recommendation

", only 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

member visiting in jpql

gzdillon Lai Yang The length field of arrays is not supported by JDOQL / JPQL queries. You may maintain an ordinary int field (holding the array length) for this purpose. support Support

Insertion Speed Rate and Batch Load

Device instances per second. But Device is a large object with an array of 100 strings (by the way ... instances per second, and with null in the String[] array the rate goes up to 200,000 entity objects

OutOfMemoryError on search after update on DB created with DB Doctor

. Arrays .copyOfRange( Arrays .java:2694) at java.lang.String. (String.java:203) at com.objectdb.o.BYR.N

Strange behaviour with ORDER BY and IN

.objectdbtest; import de.solvit.objectdbtest.entity.Location; import java.util. Arrays ; import java.util.List ... ; private static final List locations = Arrays .asList(         new

JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums

;query.setParameter("enumFieldList",          Arrays .asList ... .setParameter("enumFieldList",             Arrays

"where in" query

;      query.setParameter("names", Arrays .asList("a", "c"));    ... FROM Prez p WHERE p.id MEMBER OF :ids", Prez.class); prezs.setParameter("ids", Arrays .asList(1,3

Explorer in 2.3

a very large array in the debugger). This will limit retrieval to open branches in the tree. 3

ObjectDB embeddable Springboot

;How does odb handle byte[]. A byte[] field is stored in the containing object, as any other array

ORDER BY problem, when String starts with language specific character

.getNormName()");         query.setParameter("names", Arrays .asList

List of Enum Values in an entity

without any problem. In the explorer I can see that it is stored as array of Strings. Unfortunately

@AttributeOverrides , and postgresql + own TYPE

.If there will be getAddress method what data type it will be ? Array ?  4.I uploaded for you my entity class

Dont want to use Proxy Class

at defineClass call in d method ACL class which is triggerd by i method of STL class. I think the byte array

Query to find object from element of a contained collection

addition, replace the ordinary array with a collection (e.g. ArrayList ). You may also need to use

Index causes increased memory usage

and without, the object that JVisualVM showed as the biggest memory user was byte arrays - usually

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 of SearchTerm objects

Getting sales quantity per country with a query, an idea anyone?

in case anyone need to achieve the same. This call will retrieve a list of 3 dimensional Object array

Different behavior with persist() and queried instances?

it becomes a regular java.util. Array again which of course doesn't mark the object dirty when getting changed

Unexpected internal exception during set field of an Embeddable to null

the array of persistent fields of the  SignalValueImpl embedded class, which unexpectedly happens

Query vs Extent for retrieving data

out all empty arrays for the lists of PositionReportBeans contained within the PositionReportManagerBean

Sample JDO Architecture for Follow Up Questions

instances mainly contain arrays (or ArrayLists) and embedded objects. * A big benefit for my application

Find the error...JPA ENTITY HIBERNATE

a endless array with message in users and users in message So my annotations are not right.  

objectdb.java.util.ArrayList and performance

Hello guys, i have a question regarding "objectdb.java.util.ArrayList" and performance. In my project i'm iterating over an array with about 100k items. Fetching them into the EntityManager takes about 120ms, but when i'm iterating over all of them (this is a tree structure, each

Bulk update of embedded entities in linked list

application, I don't have the source code for. So far I used object arrays and reflection to read

[ObjectDB 2.3.7_25] Unexpected exception (Error 990)

There is a problem with 2 Person instances, apparently in their salt byte[] array . There was a change in the way byte[] arrays are stored in ObjectDB. In theory this should not affect existing

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

), but still, if there is a bug that may cause storing arrays in a bad format - exploring it requires a way ... in checking byte arrays . Build 2.4.1 fixes this problem. support Support

Transaction size limit

, so we could even prevent the overflow of array index. For example via providing a public method ... : java.lang.OutOfMemoryError: Requested array size exceeds VM limit at com.objectdb.o.FIW.m(FIW.java

ObjectDB 2.5.1

) to-many relationship into an array field ([]) ( issue #1131 ). Fixed a bug in loading mapped (inverse

I can't get cascading delete to work in JDO

;     this.id = id;             this.dependents = Arrays .asList

ObjectDB 2.4.1

Fixed a bug of  duplicating new objects during merge . Fixed a username/password issue in using EntityManagerFactory 's getMetamodel . Fixed a bug in detachment of hollow objects on close ( issue #799 ). Fixed a Doctor exception ( issue #796 ). Fixed a Doctor bug in checking byte[] arrays

ObjectDB 2.7.2

file in place . Fixed a ClassCastException in query selection of embedded object and array fields

ClassCastException in Tuple.get

expected, array Tuple.b contains expected values. Also note that call to Lists.transform is evaluated

New entity objects are duplicated on merge cascading

= Arrays .asList(new Chapter());         em.merge(book);   

ObjectDB 2.7.5

a bug in comparing array fields against parameters in queries ( issue #2289 ). Fixed a bug in retrieving

ObjectDB 2.2.9

persistent array fields with parameterized type . Added error on using transient fields (or properties