About create

forum_thread

Cascading makeTransient

Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields. The situation is that we read the objects from the DB (many and large objects of class A) and then keep in the application cache only some embedded parts of those objects (let's call them class B). This application cache should work independently on the DB as if it contained transient objects. #1 2015-07-03 10:50 Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields. The situation is t ...

 
release

2.5.1

Release date: 2013-05-30 Download (5.43 MB) Binary:  objectdb-2.5.1.zip You should start by following a  tutorial or reading the manual ...

 
issue

Unexpected Exception during commit

I'm testing code that otherwise has been working with a clean database. I have seen several examples of the following exception. It never seems to happen in the same place twice, though. If you can give me a hint as to what would internally cause this, I'll try to reproduce it. Carl   Bug Version: Priority: Normal Status: Fixed Replies: 5 Type:  Bug ...

 
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 ...

 
issue

Issue with DISTINCT Select

It is getting more and more frustrating :( We've introduced distinct select instead of regular selection in our code (no changes else) and suddenly receive invalid identifiers in queries exceptions in various queries. Here's the stacktrace: Bug Version: Priority: Normal Status: Closed Replies: 12 Type:  Bug ...

 
forum_thread

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c.employeeEntity = e) ORDER BY e.name with Hibernate, there was no problem with this query, but ObjectDB throws exception: #1 2013-04-23 14:23 Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is writt ...

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) #1 2011-10-04 20:50 First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-ho ...

 
forum_thread

Redeployment in GlassFish - Failed to open file

Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the source codes, the following errors come up in the GlassFish Log. It seems that the database file is still in use. I have highlighted the cause by red color. How I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy the application. it is very troublesome during development. #1 2011-08-03 03:57 Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in G ...

 
forum_thread

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7.3 + Jboss 7.1.1, but works fine on NetBeans 7.3 + GlassFish 3.1    ... ... ... ERROR [stderr] (http--127.0.0.1-8080-1) at ejb.PersonBean.create(PersonBean.java:28) 12:25:10,226 ERROR [stderr] (http--127.0.0.1-8080-1) ... (http--127.0.0.1-8080-1) at ejb.PersonBeanLocal$$$view63.create(Unknown Source) 12:25:10,456 ERROR [stderr] (http--127.0.0.1-8080-1) at ...

 
forum_thread

Should I be able to persist a JFrame (or gui components in general)?

    I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples). #1 2015-10-20 13:36     I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of fol ...