About false

forum_thread

Non Embedded byte[]

I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4.   I desire to store an image as a byte[] but I don't want the byte[] to be loaded on the loading of the persistent object that has my image's attributes.  The byte[] would only be loaded from the datastore if my image's attribute evaluation deemed that it need to be loaded.   Can you give a JDO example of how to achieve this?   For example: ... I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and ... ;   @ Persist ( embedded = "false" ) byte [ ] imageData ;   } ...

 
api-jdo

javax.jdo.Extent

Instances of the Extent class represent the entire collection of instances in the data store of the candidate class or interface possibly including its subclasses or subinterfaces.(Interface of JDO)

 
forum_thread

Need disk usage and delete some old files

    Hello , is it possible to get disk usage of database ? If disk usage becomes too high , delete old date files from database. And recalculate disk usage back ?   ... ( host, port, username, password, false ) ; and specific directory (and possibly file) ... ( host, port, username, password, path, false ) ;   ObjectDB Support ...

 
api-jdo

javax.jdo.annotations.Join

Annotation for the join of a relation.(Annotation of JDO)

 
forum_thread

Access entity version before commit transaction

Hi, I have a usecase where I need to write the updated entity id to the database before commiting the transaction: 1. Change entity field e.g. from a to b 2. Create a change entry in database containing the new version of the entity ... flight = transaction. getEntity ( id, false ) ; flight. setTitle ( "New" ) ... flight = transaction. getEntity ( id, false ) ; flight. addTicket ( "1" ) ...

 
api-jdo

preClear(event)

This method is called before the implementation calls the instance method ClearCallback.jdoPreClear and before it clears the values in the instance to their Java default values.(Method of javax.jdo.listener.ClearLifecycleListener)

 
issue

Schema-Update: Rename superclass and remove one subclass

Hello, we renamed a superclass and removed one of the subclass. If we then try to open the Database (with ObjectDB-Explorer) we get a "Failed to generate dynamic type ..."   Small Example: Generate Database ... ) ; entity3. onlyRecordLastStep = false ; em. persist ( entity3 ) ; em. ... public boolean onlyRecordLastStep = false ;   protected ChildClassB ( ) { ...

 
forum_thread

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7.3 + Jboss 7.1.1, but works fine on NetBeans 7.3 + GlassFish 3.1    ... ) ) { return false ; } AbstractObject other = ( ... ) ) { return false ; } return true ; } ...

 
api-jdo

getObjectById(oid, validate)

This method locates a persistent instance in the cache of instances managed by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
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: ... errors: private boolean loaded = false ;   @ Transient @ Override ... form: private boolean loaded = false ;   @ Transient @ Override ...