About READ

issue

Blank explorer

Objectdb version: 2.6.9_06 OSX Sierra: 10.12.1 (16B2555) java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) --------------------------------- running ./explorer.sh results in a blank Explorer window with spinning wheel.   ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

Collation and String Order

ObjectDB should support selecting collation when a new database is created. The collation should affect the way strings are sorted in queries (with ORDER BY). Currently strings are always ordered by Unicode order, and a workaround that enables controlling the order is to use normalizing, as discussed in this forum thread and in this forum thread. ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

Compare two schemas or odb files

For example, if we make a backup of our database it would be helpful to have the possibility to compare the backup schema (odb file) with the current version in the database and as result we should get the difference between the two schemas. It would also be sufficient, if we can compare object graphs stored in the db with old graphs from backup db. ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave   ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

New Tutorial: Using BIRT with ObjectDB/JPA

Version 2.2.7 of ObjectDB added support of report generation using the popular open source Business Intelligence and Reporting Tools (BIRT). The new Report Generation with BIRT and JPA tutorial provides step by step instructions on how to use BIRT to produce reports based on data in an ObjectDB database. ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

java.lang.ClassCastException in query results

I have a simple object stored in a ObjectDb file Stadium Name (java.lang.String) Capacity (int) City (java.lang.String)   When i run the following code i get the ClassCastException in the "for (Stadium result : results)" line ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Are indexes implicitly created for relationships?

Do the following annotations @OneToMany @ManyToOne @ManyToMany @OneToOne imply @Index  ? Thanks, Carl   ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

Automatic Switch to Replicated Server Limitations

ObjectDB supports master-slave replication, with the ability to switch connections automatically when one server goes down to another server, by specifying a composite url. Currently this feature has the following limitations: ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

How to check if an entity exists in a Database without loading it?

Hi, I am trying to speed up some code - where i check if the entity exists in order to make a decision. In Java - It looks like this (pk - is the primary key of the entity): MyClass find = em.find(MyClass.class, pk); boolean exists = find != null; Is there a way to check the existence without loading the entity? Thanks   ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

Merge throw exception "Attempt to reuse an existing primary key value"

Hi,   if Id = 0 I got javax.persistence.EntityExistsException: com.objectdb.o.UserException: Attempt to reuse an existing primary key value (ru.dz.train.test.ZeroIdTest$MyEntity:0)   if Id=1 no exception code : ... Reply Please read carefully the posting instructions - before posting to ...