About @Entity

forum_thread

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported? #1 2010-06-01 09:33 What is the best way to store images? As external files? In the database as blobs? Are blobs supported? ...

 
forum_thread

Failed to read the value of field using reflection

I have recently encountered an issue with reading objects: #1 2015-07-01 12:03 I have recently encountered an issue with reading objects: Exception: com.objectdb.o.UserException Message: ...

 
forum_thread

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "Attempt to reuse an existing primary key value". In this particular instance, the error is: #1 2011-07-18 11:23 Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "At ...

 
issue

EOFException

Not sure if you'll be able to help with this but I've had an application get into a state where it cannot access anything from the database - queries fail with the following exception: Bug Version: 2.3.3 Priority: Critical Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Custom collection types

Hi   In our project in few places there are used collections from emf framework eg EcoreEMap http://download.eclipse.org/modeling/emf/emf/javadoc/2.5.0/org/eclipse/emf/ecore/util/EcoreEMap.html This is strange map for me, it implements List interface but does not implement Map interface, nevertheless it causes some questions. #1 2011-08-23 11:35 Hi   In our project in few places there are used collections from emf framework eg EcoreEMap http:// ...

 
forum_thread

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. #1 2011-06-28 15:38 I found the message: Error opening zip file or JAR manifest missing : / E :/ projects / Obje ...

 
issue

JDO PersistenceManager.getSequence() returns null sometimes

When using JDO without annotations, database sequences are normally defined in the ORM file. Following discussion on the forum I was told that ObjectDB supports sequences if specified in the JDO file. Unfortunately, it doesn't seem to be supported consistently. It appears to work only in the situation that a new odb file has just been created AND something has been persisted to it. If nothing has yet been persisted, or if the odb file is not newly created, getSequence() returns null. Code to reproduce: Bug Version: 2.4.7 Priority: Normal Status: Fixed Replies: 5 Type:  Bug ...

 
forum_thread

Cache usage

after a runtime of several weeks we are now analyzing the usage of the cache and so on. Looking at the heap dump we suspect that the cache is really used (see heap dump attached), the RAM allocated by objectdb is much less than we would expect. The database file has around 25 GByte of size and there is heavy traffic of around 400 clients communicating permanently via webSockets to the objectdb. The config is attached as well. The question is: is the cache really used ? #1 2017-03-22 18:10 after a runtime of several weeks we are now analyzing the usage of the cache and so on. Looking at the heap dump ...

 
forum_thread

IMK Stall with certain query

Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: 2015-09-01 16:53:15.785 java[3678:5217999] IMK Stall detected, *please Report* your user scenario in <rdar://problem/16792073> - (imkxpc_deadKeyStateWithReply:) block performed very slowly (4.63 secs) i am sure it is linked with objectdb as these are thrown each time one particular query is used: #1 2015-09-01 15:04 Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: ...

 
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)... 89772) Example Class: public @Entity class WebReference implements Serializable { ...