About Explorer

forum_thread

Unable to persist fields in subclass

I have a superclass Person, with several fields I have a subclass Patient with additional fields. I can persist Patient, but CANNOT persist the fields in this subclass. Why is this? example code: package miscTests; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.MappedSuperclass; ... ;   } } Using Explorer, I can see the schema contains: addressID, contactID, lastName (all ...

 
forum_thread

Wrong @Id type

Hi,  I have noticed some values of id column suddenly switched to int, although it is declared as long in our java class. Do you have idea why this happened? Screenshot attached.   ... Also we have noticed that using tree view of ObjectDB explorer the type of the id column is displayed as long, as it shold be, but ...

 
issue

Internal Exception

Critical error:: com.objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.JPE.h(JPE.java:165) [objectdb-2.4.4_05.jar:] at com.objectdb.o.ERR.f(ERR.java:70) [objectdb-2.4.4_05.jar:] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1505) [objectdb-2.4.4_05.jar:] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:723) [objectdb-2.4.4_05.jar:] ... Caused by: java.lang.NullPointerException at com.objectdb.o.WVP.q(WVP.java:539) [objectdb-2.4.4_05.jar:] at com.objectdb.o.WVP.l(WVP.java:220) [objectdb-2.4.4_05.jar:] at com.objectdb.o.WV... ) On the attached database. Also happens in Explorer. ...

 
forum_thread

Change path for urls2.xml file

I am using ObjectDB embedded and have set my home path in relation to the JAR, but running the program still creates .objectdb/urls2.xml in my system user folder.  Is there a setting to change the creation path of this file?  I assumed it would be in relation to the home path, similar to the db and log files. ... is used to enable opening recent database files in the Explorer. Your end users probably don't need that feature. Disabling it ...

 
forum_thread

Question about overriding default equals and hashcode

Hello Support, I have overrided equals and hashcode method in my entities beans. I don't know if you use these methods in your objectdb implementation. ( for comparing bean ? ) If yes, does it have an impact on performance of database ? Regards, Xirt   ... queries when entity classes are not available (e.g. in the Explorer). If JAXB adds fields to your classes, their names and types ...

 
forum_thread

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.notEqual(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.TYW.writeElement(TYW.java:223) at com.objectdb.o.QRR.l(QRR.java:424) at com.objectdb.o.QRR.g(QRR.java:230) at com.objectdb.o.QRR.b(QRR.java:151) ... seem to work either using simple string query in explorer: SELECT FROM com . test . MyEntity c WHERE TYPE ...

 
forum_thread

Unable to convert 1.x odb file to 2.x

Hi, my company is just about to switch from ObjectDB 1.04.2487 (SE) to ObjectDB 2. So I downloaded the objectdb-2.5.5_02, activated it with our licence, enhancing went well, but then on converting 1 of the DB files I got this error: ... class I made screenshots from old and new Explorer to show this one object which I described in original and converted ...

 
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 ... About removing databases - this is supported by the Explorer by using:      File > Open Remote... > ...

 
issue

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

Please check the attached database file. When running the Doctor, I get   Global Value Errors ------------------- [1] Unexpected last index ID: -119 (expected -116) Page Content Errors ------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 extra bytes   Both errors are not fixable. When creating a new db file with the Doctor, this file yields the same errors. Please advise.  Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...

 
forum_thread

Removing entity class

Hello, I am using evaluation version of ObjectDB for long term private project. Recently I hit the 10 entities limit and got exception: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit Among the 10 entities in the project there are 2 entities I added long time ago and they were never really used. I deleted them from Java source code, but there are still in ObjectDB database. The 2 tables for these entities are empty, but the tables exist, so they count into 10 entities limit. ... any simple way how to do it, for example with ObjectDB Explorer? edit ...