About not

forum_thread

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property) The following is a detailed report on investigation of multiple issues that have been mentioned in the following forum postings and issue reports (but please do not visit them from here now, the diagnostics there are now obsolete): - Issue #282 - ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection ... following forum postings and issue reports (but please do not visit them from here now, the diagnostics there are now obsolete): ... crucial to an Expert System web app I develop; please do not be further concerned with why one would bother to wrap something like a ...

 
forum_thread

Class loading problem with private packages in OSGi environment

Our Business Objects are the JPA entities. We develop our product domain driven. This means we have several domains. Each domain is split into business layer and persistence layer (others are not relevant here). Per domain and per layer, we have an OSGI bundles. The business layer should have no dependency down (an exception is the dependency to the ObjectDB for the enhanced entities).  The persistence Layers have a dependency to the business layer and to the central DataAccess Layer.... into business layer and persistence layer (others are not relevant here). Per domain and per layer, we have an OSGI bundles. The ... we have in the Business Layer private packages that are not exported. The entities implement interfaces from these private ...

 
forum_thread

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: ... is not enhanced.   [ 2015-06-08 13:07:02 #3 type.user] Enhancement ... is not enhanced. We understand the reason of the messages #2 and #4 "Type ...  is not enhanced". We didn't added the package ...

 
manual

JPA Query Expressions (JPQL / Criteria)

Describes JPA query (JPQL / Criteria API) expressions (literals, operators and functions).... : =, <>, <, <=,>, >=, IS [NOT] NULL, [NOT] BETWEEN, including  Collection operators: [NOT] IN, IS [NOT] EMPTY, [NOT] MEMBER [OF] and the [NOT] LIKE ...

 
issue

ObjectDB for Android

ObjectDB has not been tested yet on Android and it is unknown yet what exactly is necessary to make ObjectDB run on Android. Using ObjectDB and Java Persistence API (JPA) on Android should have great potential.... (JPA) on Android should have great potential, but it has not been tried yet, so it is unknown which actions are needed to support ... 2012-08-09 14:51 Not yet. This issue will be updated when there is a change. ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... persistence manager (L1) cache. But evictAll does not affect objects that have been changed by the current PersistenceManager - ... instances to be refreshed. If a transaction is not in progress, then this call has no effect." ...

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes.... and later at runtime, ObjectDB determines whether or not each class is persistent. It searches for JDO metadata description of each ... description is found, the class is persistent, and if not, the class is transient. Metadata for class a.b.X ( a.b is the ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in ... my limited knowledge of Java and ObjectDB I have chosen to not use things such as StringProperty since I didn't know how to make it ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... objects or persistent instances . Objects that do not represent anything in the database (including instances of persistent ... persistent classes have some overhead. Classes that are not declared persistent are called transient classes and can have only ...

 
forum_thread

Update is ignored by ObjectDB

Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in the database, and User entity remains modified only in code, even if I go: user = smdb.find(User.class, user.id); In this source highlighted lines modifying entity, but not the database. ... In this source highlighted lines modifying entity, but not the database. @ Stateless public class SMDB { ... addMoney method. Persistent fields should not be defined as public and accessed or modified directly from other ...