About entities

issue

Server NPE

I'm getting the following NPE when attempting to persist an object to a server based database: Bug Version: 2.3.3 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
issue

NullPointerException on initial database creation

I'm getting the following exception on initial creation of a database.  There's no indication as to what's wrong and there's nothing in the log.   Bug Version: Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
forum_thread

@ElementCollection Set<Integer> is emptied sometimes

Hi! I'm facing a really strange behavior, which I can't yet reproduce, but it happened 3-4 times already. ObjectDB seems to clear some fields that are @ElementCollection Set<Integer> of my objects. They appear HashSet<Integer> in ObjectDB Explorer. The only common thing I've seen is that this MAY happen when schema changes, even though nothing is changed in that Object's class. Any ideas why would this happen and how could it be avoided? Thanks (version 2.5.3 & Tomee & NetBeans) #1 2013-09-13 08:10 Hi! I'm facing a really strange behavior, which I can't yet reproduce, but it happened 3-4 times ...

 
forum_thread

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix Our current settings: Persistence.xml: #1 2013-10-08 10:48 Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2. ...

 
issue

Unexpected Exception during commit

I'm testing code that otherwise has been working with a clean database. I have seen several examples of the following exception. It never seems to happen in the same place twice, though. If you can give me a hint as to what would internally cause this, I'll try to reproduce it. Carl   ... in type Player (mapped by field com.fastmodel.fastplan.entities.Account.players) at ... Is that true? In cases where I have a large number of entities that are not used as a collection, I assumed a mappedBy relationship ... mappedBy is it gives me bi-directional navigation of my entities, even though I am only managing a reference on one side. If I used a ...

 
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

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 ...

 
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:// ...