About example

forum_thread

Unable to convert 1.x odb file to 2.x

Hi, my company is just about to switch from ObjectDB 1.04.2487 (SE) to ObjectDB 2. So I downloaded the objectdb-2.5.5_02, activated it with our licence, enhancing went well, but then on converting 1 of the DB files I got this error: #1 2014-05-05 15:21 Hi, my company is just about to switch from ObjectDB 1.04.2487 (SE) to ObjectDB 2. So I downloaded t ...

 
release

2.6.0

... of using entity instead of a PK in find (retrieval by example). Added support of using list of literals in an query ...

 
issue

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

I'm getting the ClassCastException below when querying objects. As yet I haven't been able to track down the exact circumstance in which it occurs - saving and querying objects works fine on attempts to recreate - but presumably at some point an object gets saved which objectdb doesn't like. Any pointers as to what is wrong or approaches to investigate further would be much appreciated. Bug Version: 2.0.5 Priority: Critical Status: Fixed Replies: 6 Type:  Bug ...

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> #1 2011-04-12 16:36 I'm trying to replicate a database using the following config: <server>   <connec ...

 
issue

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4901) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2045) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)... $Proxy138.getAll(Unknown Source) at luc.example.__EJB31_Generated__UserFacade__Intf____Bean__.getAll(Unknown Source) at ...

 
forum_thread

Upgrade to Java 8 won't run

I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to the latest revs (Groovy 2.3.6, Java 1.8.0_25, and ObjectDB 2.5.7_05), and now my application fails when opening the database. It's dying on one of these lines:   emf = Persistence.createEntityManagerFactory (dbName)   em = emf.createEntityManager()   em.setFlushMode(FlushModeType.AUTO)   ObjectDB.em = em   #1 2014-11-16 20:44 I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to t ...

 
forum_thread

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA #1 2011-08-23 05:11 Hi: After a table built by real data, how to alter table structure, such as: alter table add colu ...

 
forum_thread

Listing large number of complicated objects with paging.

Hi, For last few hours I was working on a problem with bad performance and memory problems with such a simple query: select prod from Product prod order by prod.id ASC Right now I have 55541 'Product' (attached to this post) entities in database and I'm trying to speed listing them with paging. The problem is, that running code that looks like this: #1 2011-11-15 18:32 Hi, For last few hours I was working on a problem with bad performance and memory problems with such a si ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: Bug Version: 2.5.2 Priority: Normal Status: Active Replies: 8 Type:  Bug ...

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. #1 2011-05-04 05:32 hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simu ...