About Container

release

2.3.5

Release date: 2011-12-21 Download (5.38 MB) Binary:  objectdb-2.3.5.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Clarification on free license restrictions

Hello,   My apologies if the answer is already on the website, but I’m struggling to find a definitive answer.  The 10 entity class restriction is very clear, but can each of these classes use unrestricted numbers of embeddable classes?  Do embeddable classes count as part of the ten?  I assume not, but I need to check before I code further (and learn more about the product).   #1 2011-12-22 11:43 Hello,   My apologies if the answer is already on the website, but I’m struggling to find ...

 
forum_thread

Is it possible to commit only specific elements?

Hello, As stated above, I would like to know if it is possible to commit only specific elements, or at least update a single table, disregarding the other entities loaded in the persistency context? I have a complex hierarchy of intertwined objects. Currently I am clearing my persistency context, retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've previously retrieved and finally committing. My context is big data and performance is an issue.      #1 2015-07-24 11:13 Hello, As stated above, I would like to know if it is possible to commit only specific elements, or at le ...

 
forum_thread

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support for wildcards under the <class> field. Apparently Hibernate has an autodetection extension system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html #1 2017-07-04 04:05 I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in ...

 
forum_thread

IMK Stall with certain query

Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: 2015-09-01 16:53:15.785 java[3678:5217999] IMK Stall detected, *please Report* your user scenario in <rdar://problem/16792073> - (imkxpc_deadKeyStateWithReply:) block performed very slowly (4.63 secs) i am sure it is linked with objectdb as these are thrown each time one particular query is used: #1 2015-09-01 15:04 Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: ...

 
forum_thread

Performance issues on aggregate query

we are using this aggregate query to collect some data: ... public List<ObjectNode> container = new ArrayList<ObjectNode>(); ...

 
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? #1 2011-04-28 01:37 Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._Opti ...

 
manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes ( entity classes , embeddable classes and mapp ...

 
forum_thread

Using explorer with a live embedded db

I want to use ObjectDB explorer with a running embedded db. This issue:  http://www.objectdb.com/database/forum/617   shows a way to do it. I followed the instructions, but still received an error when trying to connect: "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. #1 2013-09-23 06:14 I want to use ObjectDB explorer with a running embedded db. This issue:  http://www.objectdb.com/dat ...

 
forum_thread

Multi part paths in a composite index must have the same length

Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Exception in thread "main" [ObjectDB 2.6.0_01] javax.persistence.PersistenceException Invalid index path 'tStamp.value / instrumentId' in type Entities.OrderBookNew (error 328) at com.objectdb.jpa.EMImpl.createQuery(EMImpl.java:958)   Here is how the class of the persisted object looks like #1 2015-01-15 03:15 Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Excepti ...