About error

forum_thread

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue.EXCEPTION) are not enforced in 2.3.7_08 or that i have failed to understand how to annotate. example: @Entity public class Request {   public Request() { }   @Id @GeneratedValue(strategy=GenerationType.IDENTITY)   private Long id; ... failed: Attempt to reuse an existing value (null) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) ...

 
forum_thread

Schema Update: class hierarchy change

Hello, we try to change the class hierarchy of an Entity. You wrote www.objectdb.com/database/forum/899 that ObjectDB support automatic schema evolution for adding and removing fields and for class hierarchy change.   But our small test failed: At first create a DataBase with one Object of MyEntity ... using reflection (error 363) at com.objectdb.jpa.EMImpl.find(EMImpl.java:630) at ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... seconds. Persisted 57090.656 objects per second. Error opening zip file or JAR manifest missing: ... transaction is too slow, that cause emf.close() catch a error. The speed is not good. Institute of ...

 
forum_thread

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

Hello! This query is working fine SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2 JOIN $1.sender $3 WHERE ($2.id='22afeafe-363f-4397-8553-cc5688ba142d') OR ($3.id='22afeafe-363f-4397-8553-cc5688ba142d')  ORDER BY MAX($1.createDate) DESC   but this query returns an exception "com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV" SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2  ... database that may be used to run the query and see the error, it would be very helpful. ObjectDB Support ...

 
forum_thread

@Unique member combination not working

Why does the below code not enforce unique restrictions?   Person.java ... ( ( 'John','Doe' ) ) ( error 613 ) at com.objectdb.jpa.EMImpl.commit ( EMImpl. java ... by: javax.persistence.PersistenceException: com.objectdb.error.UserException: Unique constraint ( ... ( 'John','Doe' ) ) at com.objectdb.error.jpa._PersistenceException.construct ( _PersistenceException. java ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... In addition on such attempt it writes to the log an error message ("Negative snapshot user count") with a stack trace. If you can ... issue? Is there a "Negative snapshot user count" error message and stack trace in the logs? ObjectDB ...

 
issue

JPQL support for Maps (JPA 2.0)

JPQL 2.0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB supports FROM variables for collection elements and FROM variables for map keys and values are expected to be supported in future versions. ... Map<String,String> data ; } Error : Stacktrace: ] WITH root cause com . objectdb . o . ...

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

 
issue

Improve ObjectDB Server

Improve ObjectDB Server to behave and feel more like a traditional db-server: - Remove SWING dependency (i.e. remove the tray icon or make it external from the core server) - Provide the possibility to easily install the objectdb as service on each system (requires removing swing dependency) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases but remove existing ones as well ... log messages to the standard output and/or the standard error by setting the configuration . About removing databases - this ...

 
forum_thread

Problem with merging / persisitng objects with @Embeddable field

Hi, After migration to version 2.4.2_01, I have noticed a strange problem with persisting object with field that contains @Embeddable object. Please check attached exception. Relation between entities looks like this: ... the post. Sorry for false alarm and thanks for pointing error in my model. edit ...