About file

forum_thread

Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts ... Maximum file size: 32 MB 0 ...

 
issue

Pessimistic lock timeout - blocks indefinitely

I've attached a simple test which creates an object then kicks off several threads which each try to update the object. I'm using a pessimistic lock with timeout as follows: ... Maximum file size: 32 MB 0 ...

 
issue

ArrayIndexOutOfBounds on showing Tree Window

... from the Schema in ObjectDB Explorer in version 2.6.5_04 I get then the following exception (plenty of them). ... Maximum file size: 32 MB 0 ...

 
forum_thread

@ElementCollection of type enum

Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) private Set<UserPermission> permissions; package x.x.x.x public enum UserPermission { BASIC, COACH, ADMIN } Use case: there are users which contain the first 2 permissions (BASIC and COACH, so the first 2 entries). ... Maximum file size: 32 MB 0 ...

 
forum_thread

Upgrade to 2.4.1_01

Hi, We tried to upgrade from 2.3.7_18 to 2.4.1_01 to pickup some fixes. We discovered that our code no longer works when using 2.4.1_01. We did some probing and found one thing. I have attached the unit test to display this issue. The problem seems to be the annotation at line 266 in the test. In our code for 2.3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType.EAGER), which is wrong, as Contactdetails is Embeddable, the annotation should be @Embedded. Neither annotation works with 2.4.1_01, with each giving a different error. ... Maximum file size: 32 MB 0 ...

 
issue

Unexpected exception Error 990

Hello, following exception occurs when querying objectdb: ... Maximum file size: 32 MB 0 ...

 
issue

InternalException caused by OOM: Metaspace

Our java server app using objectDB threw this mistake. Looks like due to OutOfMemory exception, but the app was running with -Xmx12G and before the mistake there was used 1,6G from that heap. Although Metaspace can happen independently on the heap usage I believe. Stacktrace follows: ... Maximum file size: 32 MB 0 ...

 
issue

Server NPE

I'm getting the following NPE when attempting to persist an object to a server based database: ... Maximum file size: 32 MB 0 ...

 
forum_thread

Performance issues on aggregate query

we are using this aggregate query to collect some data: ... Maximum file size: 32 MB 0 ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

Exception in thread "main" [ObjectDB 2.6.0_04] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.objectdb.o.SEM.c(SEM.java:77) at com.objectdb.o.SEC.g(SEC.java:196) at com.objectdb.o.SEC.c(SEC.java:84)... Maximum file size: 32 MB 0 ...