About removal

issue

Internal Exception and Index Problems

Dear Support Team, we have an urgent issue in a productive database. The objectdb doctor finds no error but one string field of one database item is not editable (even not using the objectdb explorer). The corrupt entry is in entity "UserModelData" with id="7d29d5eb-69a6-4d46-9bf1-802cbb6e439b". Try to change the userName attribute of this entry then the following error occurs: ... This exception can be thrown due to any addition or removal of persistent fields in an entity class, including moving a field ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. #1 2011-05-25 08:38 Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objec ...

 
forum_thread

Slow searching with two indexes

I'm running queries on a large database (tens of millions of objects), and I'm running into a performance problem using two indexes.  An entity I'm querying has two indexed fields - one is the primary key (id) and so is different for each object, and the other is an object reference that only has a few tens of different values.   When I query by just the primary key, it's (of course) extremely fast, but when I also query using the other key, queries can take minutes. #1 2016-11-15 12:01 I'm running queries on a large database (tens of millions of objects), and I'm running into a performance ...

 
issue

ArrayIndexOutOfBoundException

Hello, we got this exception when using ObjectDB: Bug Version: 2.5.1 Priority: High Status: Active Replies: 14 Type:  Bug ...

 
forum_thread

exceeds evaluation limit Exception

Hi ,every body i have this exception , and i didn't know what is mean or from "Exception in thread "main" [ObjectDB 2.0.5_02] javax.persistence.PersistenceException Too many persistable types (>10) - exceeds evaluation limit (error 1011) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:357) at DBManager.insertPatient(DBManager.java:29) at Main.main(Main.java:374)" does any body face this exception before Thanks in Advance     #1 2011-02-28 15:15 Hi ,every body i have this exception , and i didn't know what is mean or from "Exception in threa ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes. Modifications to entity classes that do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and modifying constructors, methods and non persistent fields. However, additions, deleti ...

 
forum_thread

Foreign key constraint issue

Hi, I'm trying to create two tables (Parent and Child) with a foreign key constraint from Child to Parent so that when the parent is deleted all children are removed as well. Unfortunately, in one specific case that foreign key constraint doesn't apply and I can't figure out what I'm missing. The definitions of the classes are as follows: #1 2017-02-21 19:59 Hi, I'm trying to create two tables (Parent and Child) with a foreign key constraint from Child to Pa ...

 
forum_thread

String comparison in query where clause

I am having trouble getting a simple string comparison to work in an SQL "where" clause.  It is my understanding that queries are case sensitive by default and I do not want that, so I am constructing the query as follows... SELECT e FROM Exercise AS e WHERE UPPER(e.name) = ?0 and then I am converting the parameter (representing by position ?0) to upper case.  I am certain the parameter value is correct, and there should be a matching record in the database, but my query returns no result. #1 2016-03-23 14:38 I am having trouble getting a simple string comparison to work in an SQL "where" clause.  It is my understan ...

 
forum_thread

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.HND.K(HND.java:210) at com.objectdb.o.SHN.K(SHN.java:208) at com.objectdb.o.HND.run(HND.java:132) at java.lang.Thread.run(Thread.java:662) Here is my connection string: #1 2013-03-31 01:41 I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: ...

 
forum_thread

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? #1 2011-05-14 21:23 1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Enti ...