About empty

forum_thread

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format" the entity classes have in the old database file and compare that with the new classes definitions?   Thanks, farid ... entity classes in the classpath but the metamodel is empty. How does your explorer get to metamodel? Thanks, Farid ...

 
issue

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

objectdb-2.2.5_08 NetbeansID6.9.1+Glassfish3.01 I suspect the following is an Explorer bug. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project because it appears to be either database integrity corruption, or it just looks like it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. ... test fails on test case, appears empty Ok, I've tested objectdb-2.2.5_10 on the larger test ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. ... is empty... Log dump: eclipse.buildId=4.5.2.M20160212-1500 ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; ... protected Container ( ) { // Empty constructor for JPA }   public void ...

 
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: ... concurrently, i.e. when running the application with a new empty database or after applying schema change. If you get this ...

 
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 ... . In the debugger the proxy list might look empty - but as soon as your application accesses its content (e.g. by ...

 
forum_thread

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type; @Enumerated public Type getType() {     return type; } I then try to query this field in the following JPA Named Query ... name. The following example should work with an empty database: import java. util . *;   import javax. ...

 
issue

Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... { //the queue is currently empty return null ; } ... differences between the JDKs) and the queue remains almost empty. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor, but the same error is happening also on the fixed DB file. Btw. during fixing the DB file an Internal error was thrown (details here: http://www.objectdb.com/database/issue/285 ), but the fixing went on and created a new file. #1 2016-11-12 08:08 Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the ...

 
forum_thread

Storing objects problem

I want to save this object to database: @Entity public class Device { private String name; private String type; private String ipAddress; private Device parent; @Id private String ID; private String ID_HZMO; @ElementCollection private List<Device> children; }    ... include any indication that the child devices are not empty. Please follow the posting instructions and provide a simple ...