About removal

forum_thread

Problem persisting a TreeSet field

Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field Message.children to java.util.HashSet" when persisting a Message object with a parent/children relationship: @ManyToOne private Message parent; @OneToMany(mappedBy = "parent") private TreeSet<Message> children; Seems that objectdb is converting TreeSet into HashSet? Why? http://www.objectdb.com/java/jpa/entity/types says TreeSet is supported... #1 2011-07-17 16:09 Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field Message.ch ...

 
forum_thread

Usage of Inherited Class

Hi, I found a problem in ObjectDB which may be incompatible with EclipseLink and JPA. Here's the codes: // Nodes.java #1 2011-05-22 16:00 Hi, I found a problem in ObjectDB which may be incompatible with EclipseLink and JPA. The type nodes2 der ...

 
forum_thread

Performance in SELECT statement

Hello, I have the following 2 entities : #1 2016-02-01 07:53 Hello, I have the following 2 entities : @ Entity public class TestEntity imp ...

 
forum_thread

Several parallel threads to speed up query on one DB

Hi, I have an application: producer (from a DB) to a consumer. The current bottleneck is the producer from DB (based on a query) and I would like to speed it up. I have tried using several entity managers (same DB instance) to benefit from the parallelisation - but it looks like I don't get much benefit from doing that.  #1 2015-01-25 13:57 Hi, I have an application: producer (from a DB) to a consumer. The current bottleneck is the prod ...

 
forum_thread

Uninitialized primary key (id = 0)

Exception in thread "main" [ObjectDB 2.2.9_04] javax.persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (image.Meta:0) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) I check the db by explorer.jar, and find the only one record is id=0. What situation will be id=0? TIA #1 2011-08-26 05:26 Exception in thread "main" [ ObjectDB 2.2.9_04 ] javax. persistence . RollbackException Fai ...

 
forum_thread

Case Insensitive Indexes

How do you do case insensitive indexes? I have search the Forum and tutorials and have not found any info related to this.   Thanks, -- Nathan Modrzewski #1 2010-10-20 18:08 How do you do case insensitive indexes? I have search the Forum and tutorials and have not found any info related to ...

 
issue

[Explorer] Editing Database Files

Some features of ObjectDB 1 Explorer have not been implemented yet in the new Explorer of ObjectDB 2. The new Explorer of ObjectDB 2 is currently a viewer rather than editor, and database files are always opened in read only mode. The ability to create new database objects and edit existing database object has to be reimplemented in the ObjectDB 2. Feature Request Version: Priority: High Status: Fixed Replies: 4 Type:  Feature Request ...

 
forum_thread

Automatic schema evolution causes ArrayOutOfBoundsException

Hi, I did 2 modification to our schema. Our schema looks like this: class Entity     - List<String> permissions class ServiceProvider extends Entity     - String name class Airline extends Entity     - String name     - String iata #1 2016-09-23 08:14 Hi, I did 2 modification to our schema. Our schema looked like this: class Entity ...

 
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: #1 2013-10-26 00:17 Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) ...

 
forum_thread

Cannot find objectdb-jee.jar releases in the ObjectDB maven repository

Hi, I can only find objectdb.jar releases in the ObjectDB maven repository. If objectdb-jee.jar releases are there, can you let me know where they are, otherwise would it be possible to include objectdb-jee.jar in the current and future maven releases ? Thanks Andrew   #1 2013-09-08 09:23 Hi, I can only find objectdb.jar releases in the ObjectDB maven repository. If objectdb-jee.jar releases ...