About null


[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... field to a new object, to an exiting object or to null. You can add objects or references to a persistent collection using the ... the context. Deleting a reference field sets the value to null without deleting any referenced persistent object. On the other hand, ...


Indexing a field results in internal Exception

I have an application that I have been converting from JPA/MySQL to JDO/ObjectDB and I have hit a problem with indexing. An index on a String field is required to give good performance but if I add the @Index annotation to the field I eventually end up with an ObjectDB internal exception.  This is reproducible, as is the program running to completion (slowly) if I remove the @Index annotation.  Is there anything I can look for that might result in this exception? ... null com.objectdb.o.InternalException at com.objectdb.o.BYR.s(BYR.java:113) at ...


Problem with byte arrays in JDO - internal exception

This code generates an internal exception: ... com. objectdb . o . InternalException : null com. objectdb . o . InternalException at com. objectdb . o . ...


Setting temp directory location in ObjectDB

HI, I am using ObjectDB and would to change the temp directory location wihtout using objectDB.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties.setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper.class.getClassLoader()); ... ) ; if ( dirPath == null ) { dirPath = m_dbFile. getParent ( ...


Why the internal error was thrown?

com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com.objectdb.o.QRM.Vo(QRM.java:226) at com.objectdb.o.MST.Vo(MST.java:988) at com.objectdb.o.WRA.Vo(WRA.java:311) at com.objectdb.o.WSM.Vo(WSM.java:115) at com.objectdb.o.QRR.g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719) ... null com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at ...


Database(*.odb) file size on disk

Hello, we have questions about the file size of ObjectDB database on disk. Can you tell us something about how the deleting of entities affects the size of *.odb files on disk? -Will the released memory always used by new entities? -Will be the database file automatically reduced?   We have created a small test, in which we create and delete entities. It looks like that the released memory are reused but the the file not resized. The database is at the end empty again, but larger than the initial size. ... CascadeType . ALL ) EntityB entityB = null ; }   @ Entity public static class ...


evalution limit error on digital ocean ubuntu

Trying to run the code on Digital Ocean Ubuntu instance. Generated license and set key in objectdb conf file. It gives below exceeds evaluation error when we try to run the code. Caused by: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit at com.objectdb.o.MSG.d(MSG.java:61) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.MST.UC(MST.java:1090) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.WRA.UC(WRA.java:213) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.TYS.x(TYS.java:768) ~[objectdb-2.5.4.jar:na]... java.lang.NullPointerException: null java.lang.NullPointerException at ...


Beginners questions

Hello !! I am new in JPA / ObjectDB development and I have many questions: 1. If I understood correctly, ObjectDB is an implementation of JPA standard (currently 2.0)? 1.1. Is ObjectDB on the same level like Hibernate with only difference that Hibernate stores the data in a RDBMS and ObjectDB has its own format?   ... = false ) private EBVerlag verlag = null ; 3.1. Please take a look at column names and tell ...



Set the filter for the query.(Method of javax.jdo.Query)


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: ... retrieving it first (in which case the list of children is null), both children get deleted. Can you please help me out? ...