About access

release

2.3.1

Release date: 2011-10-02 Download (5.48 MB) Binary:  objectdb-2.3.1.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Run out of memory

Hi, I've been looking into ObjectDB for our use, where everything has been great apart from I'm stuck on the following problem.   I am trying to load a large file (> 1GB), process certain information and store it back in the database to access / modify later. I require to be able to rollback changes as well, where there can be massive amount of changes.   ... certain information and store it back in the database to access / modify later. I require to be able to rollback changes as well, where ...

 
forum_thread

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look in version 2. I found only small fragments of attributes in the description of JDO Annotations (to which XML element is the given annotation equivalent). So my questions to this are: 1. Is there some description of XML metadata for ObjectDB ver2 using JDO which I did not find? ... I would decide to move to JPA from JDO, is it possible to access the same database with JPA what is using at the moment JDO ? Or should ...

 
forum_thread

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded. Also have the Explorer open Questions: a) what is it about? ... In my app, I don't expect more than one thread to access a database at any one time, and in the rare case that this happens, the ...

 
forum_thread

Acces the same DB with multiple users

I developed an application that needs 3 computers to acces the same odb file, unfortunately when I acces this file from any other computer than the one where I first generated the file (I'm using the server.exe) my queries result in nothing? Must something be changed to the config? Or should this work with no changes to the included config file? Thanks for the help, Marvin   #1 2016-03-03 13:26 I developed an application that needs 3 computers to acces the same odb file, unfortunately when I acces this fil ...

 
forum_thread

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto-generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. ... The id is available in the id field so you can simply access it. By default, however, the allocated value is available only ...

 
api-jdo

PersistenceCapable.READ_OK

If jdoFlags is set to READ_OK, then the fields in the default fetch group can be accessed for read without notifying the StateManager.(Static Field of javax.jdo.spi.PersistenceCapable)

 
api-jdo

getPersistenceManager()

An Extent is managed by a PersistenceManager; this method gives access to the owning PersistenceManager.(Method of javax.jdo.Extent)

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error:  ...

 
forum_thread

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  ...   From other beans I need concurrent access to the database in order to persist records.  For example ...