About multiplication

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? #1 2010-12-08 23:57 I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to ...

 
forum_thread

JPA query of a Set of terms

Hi, Is it possible to write a JPA query to select objects that contain a collection of elements? For example, suppose I have a table that maps a search terms to pages: @Entity public class SearchIndex { @Index SearchTerm term; @Index Page page; } Now suppose I have an array of SearchTerm objects. ie. #1 2011-02-24 18:43 Hi, Is it possible to write a JPA query to select objects that contain a collection of elements? ...

 
forum_thread

possible index required for improving query performance

Hi,   I have the following entity class:   @Entity @Table @Indices({ @Index(members={"relationshipType", "party"}), @Index(members={"relationshipType", "otherParty"}),     @Index(members={"relationshipType"}) }) @XmlRootElement public class Relationship implements Comparable<Relationship> { #1 2012-02-14 22:29 Hi, I have the following entity class: @ Entity   @ Table @ Indi ...

 
issue

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some filed is initialised i got an exception   Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker at com.package.Network.__odbSet_Connections(Network.java:1) at com.package.Network.<init>(Network.java:95) at com.package.EnhancementTest.main(EnhancementTest.java:14)   Bug Version: 1.04 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
forum_thread

FileNotFoundException

I'm sometimes getting this exception.  Is there a simple answer to why it's occurring?  (It could take some time to produce code that results in this exception reliably). #1 2017-08-29 19:43 I'm sometimes getting this exception.  Is there a simple answer to why it's occurring?  (It cou ...

 
release

2.7.1

Release date: 2017-04-06 Download (5.58 MB) Binary:  objectdb-2.7.1.zip Version 2.7.1 Fixed a critical bug that may cause database ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, #1 2011-04-23 08:43 Hi,   I've run into a little bit of a wall with regards to persistence.xml and externalising the ...

 
forum_thread

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! #1 2013-05-22 12:53 Hello to everyone! I've been developing a GwT application as a project for my computer science facult ...

 
forum_thread

Unable to delete the .odb file programatically

Hi, I created the test.odb file, read the contents and now trying the delete the odb file using objectd2.x. I see the folder there are two files created test.odb and test.odb$. Using the following code to delte the odb files #1 2012-07-23 16:16 Hi, I created the test.odb file, read the contents and now trying the delete the odb file using objectd2. ...

 
manual

CRUD Database Operations with JPA

Shows how to use Java/JPA to store, retrieve, update & delete. Given an EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... , em , that represents a JPA connection to the object dat ...