About clear

issue

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack, open in NetBeans8.1, perform Clean and Build, and Run: ... is also not supported. ObjectDB should probably produce a clear error message in that case. ObjectDB Support ... > ObjectDB should probably produce a clear error message in that case. Yes it should, to help save people ...

 
forum_thread

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in memory represents the first 40GB of the 800GB on-disk for super-fast recent entry searching, the records at the end continuously purge as the new ones come in(duplicate write, one to in-memory and one to on-disk). ... through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB ...

 
forum_thread

Bug: ClassCastException by retrieval

Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: ... toString ( la ) ) ;   em. clear ( ) ;   tNode tn3 = em. find ( ...

 
forum_thread

Merge failure with composite primary key

It was working well with previous releases and now is failing: Exception in thread "main" [ObjectDB 2.3.7_20] javax.persistence.EntityNotFoundException Entity is not found: MergeTest#('Hello',0) (error 631) at com.objectdb.jpa.EMImpl.merge(EMImpl.java:451) at MergeTest.main(MergeTest.java:19)   Thanks. #1 2012-04-27 16:55 It was working well with previous releases and now is failling: Exception in thread "main" [ObjectDB 2.3. ...

 
forum_thread

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from the database outside a transaction (inside doesn't seem to matter). First cycle of doEdit and then doCancelEdit works fine. Second time I doEdit produces the error "Attempt to lock a non entity object" session.rollback() is somehow causing the problem (found through debugging) Is this enough information for someone to suggest what might be happening and how to fix it? ... ObjectDB manual - by: "The following operations clear the entire persistence context and detach all managed entity objects: ...

 
api-jdo

setExtensions(extensions)

Set multiple extensions, or use null to clear all extensions.(Method of javax.jdo.Query)

 
forum_thread

ObjectDB's Database Doctor Incorrect Error Report

Am I reading this correctly?  It seems that Doctor is telling me that one of my objects is missing.  Looking at the database with ObjectDB's Database Explorer though seems to show that the reference to the object is good and that the object does indeed exist.   Output from Doctor Diagnose and Doctor Repair is attached.  So are the two databases and screenshots of Explorer showing the reference to the object and the existence of the object. ... was fixed now so starting the next build there will be a clear limit of 64KB. Thank you for this report. To avoid this ...

 
api-jdo

javax.jdo.Query

The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)

 
forum_thread

Is ObjectDB the only object database that supports JPA?

Other Object database does'nt support JPA?   ... Thanks for ur help. Please clear my doubt I know JPA is just a Specification and ORM Frameworks ...

 
issue

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: ... build in NetBeans, and also after complete NetBeans cache clear (an no matter whether using compile-on-save or not) I get at run-time ...