About true

forum_thread

ObectDb 2.3.6 in OSGi environment

Hello, I'm trying to use ObjectDb within OSGi bundles. I have one bundle for db accens which uses ObjectDb and another bundle which includes the POJO models. Everytime I start in plugin evironement i get an PersistenceException, because my POJO not found. If try the same test in normal Java environment everthing works fine. Can you please advice? Thx Peter ... "SELECT rvn FROM RuleValueNode rvn where rvn.value.not = true and rvn.parent = :parent" ) , @ NamedQuery ( ...

 
forum_thread

Problem with byte arrays in JDO - internal exception

This code generates an internal exception: ... <field name = "id" primary - key = "true" / > <field name = "name" persistence - ...

 
forum_thread

Performance issues on aggregate query

we are using this aggregate query to collect some data: ... // EUR-0004 public Boolean inSlots = true; @Index public Date modified; @Index public String ...

 
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: ... if I set experimental 'objectdb.temp.no-detach' true on startup, I get INSTEAD (or maybe first) the error reported at: ... ( "objectdb.temp.no-enhancement-crc-check" , "true" ) ; Set the property before accessing ObjectDB do ...

 
forum_thread

Query for objects persisted within the same transaction

I have a question concerning reading uncommited entities with query, within active transaction. For example, I read data from file. Each line contains value of one of entity's attributes but those values are not unique, so it's possible to have a multiple instances of the same entity. To eliminate duplicates, after reading every line I first check using a query, if an entity with that attribute value already exists. If no - I create one and persist it.... Thanks, The part about performance in documentation is so true. I think I'll stick with map to check for duplicates, as performance drop ...

 
forum_thread

Failed to write the value of field using reflection (error 363) on LAZY fetch

Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member (e.g. a Modell has several Artikels) . When I remove the LAZY hint on the query execution it works. Any hints why this can happen? The Mapping of class Modell and its member: ... @ Transactional ( readOnly = true ) protected List<T> getEntities ( ...

 
api-jdo

getRetainValues()

If true, at commit time instances retain their field values.(Method of javax.jdo.Transaction)

 
api-jdo

isLoaded(pc, field)

Return true if the field is cached in the calling instance.(Method of javax.jdo.spi.StateManager)

 
api-jdo

setMultithreaded(flag)

Set the Multithreaded flag for this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
forum_thread

_PersistenceException: Type is not found on getSingleResult.

Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone application and i'm having issues querying for an object of this entity: ... = CascadeType . ALL , orphanRemoval = true ) private List<Acudiente> acudientes ;   ...