About activation code

manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... Explicit Persist The following code stores an instance of the Employee entity class in the database: ... Referenced Embedded Objects The following code stores an Employee instance with a reference to an Address ...

 
forum_thread

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities are found with field type GOOD. There are 2 ways generate the bug: ... (param 1 is Bug.Type.GOOD)(type is Embedded(String))(see code) Problem continuation: I've seen it behaving exactly opposite. ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... i've checked the same code with objectdb and versantdb (only jdo.properties were changed) and there ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ...

 
issue

Unexpected exception (Error 990) on find

I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error: ... upload it in a separate private support ticket, and source code is not essential). Alternatively, you may check if this problem ... (not necessarily a small test, and possibly without source code), maybe we can build a test that reproduces it, but much more details are ...

 
issue

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot the entire server on which it's running.  The only recorded symptom is a client-side error (which fortunately gets auto-mailed to me): ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
forum_thread

Problem to use find method on an abstract Class: AbstractMethodError is thrown

Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) In my db there are objects of type SentenceStatement which inherit from type LogicalObject  When I use find method mentioning SentenceStatement everything works just fine but when I use this method mentioning LogicalObject I get AbstractMethodError Please see services.Tester class with the 2 options for a better ease    this is the stack trace when I try to find LogicalObject: ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... 40 more The code at this point is performing a delete query for all entity objects that the ... I hope you still have the code that caused these exceptions. Please keep it for checking against ... recently may solve the problem, so if you can try your code with the last build of ObjectDB (with a new database) and report the ...

 
issue

[ObjectDB 2.5.5_03] Unexpected exception (Error 990)

Hello! When I run this query SELECT t FROM Unit t WHERE t.lastGeocodedPosition IS NULL OR t.lastGeocodedPosition.receiveTime < :lastGeocodedPosition.receiveTime I get the following exception: ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

InternalException - error reading field from "queue" database

I trying to use an objectdb database as a persitent queue but have started getting the following error on the receiver side: ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

Negative snapshot user count

I finally hit an instance of the "Negative snapshot user count" exception 1) ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...