About drop

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: ... ( "objectdb:$objectdb/db/test.tmp;drop" ) ;   EntityManager em = ... ( "objectdb:$objectdb/db/test.tmp;drop" ) ;   EntityManager em = ...

 
forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... = "500" /> <extensions drop = "temp,tmp" /> </database >   ...

 
forum_thread

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db when I use Undeploy tool. TIA #1 2011-09-05 09:09 Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? ...

 
issue

Super class' field access fails

I have a base class: public abstract class HotObject extends BaseObject {   private Integer activity;   protected HotObject() {     activity = 1;   }   public Integer getActivity() {     return activity;   }   public void setActivity(Integer activity) {     this.activity = activity;   } ... "objectdb:d: \\ temp \\ test.tmp;drop" ) ; EntityManager em = emf. ...

 
issue

Issue with cascade delete & add/remove

Hi, Please see the attached sample project (important: classes need to be enhanced as done in the pom.xml file). ... "objectdb://localhost:6136/test/test.tmp;drop;admin" ) ;   EntityManager em = emf. ...

 
forum_thread

Error with org.springframework.data.jpa.domain.AbstractPersistable

I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start up my application, I got below error. It seems like ObjectDB does not support a generic @ID in the super class. Is this a bug in the ObjectDB? It was totally fine when working with Hibernate or EclipseLink. ... ( "objectdb:$objectdb/db/test.tmp;drop" ) ; EntityManager em = emf. ...

 
issue

Issue with TYPE expression in Criteria API

Find attached project using latest 2.3.4_03 odb still causes:   ... "objectdb://localhost:6136/test/test.tmp;drop;admin" ) ; EntityManager em = emf. ...

 
forum_thread

Should derived fields of an EmbeddedId be manually maintained by app code?

If I have an Entity which has a primary key which is derived and I am implementing it using @EmbeddedId, am I responsible for maintaining the derived fields of the @EmbeddedId? I could not find anything in the JPA 2.0 spec http://download.oracle.com/auth/otn-pub/jcp/persistence-2.0-fr-oth-JSpec/persistence-2_0-final-spec.pdf?e=1317047713&h=54831c176e81a244a4c309e13eba0b27 which tells me what to expect. ... the  purgeObjectDb method instead of the new ;drop url parameter ? To paste code in the forum, first select ...

 
issue

BIRT Driver Improvements

Currently the ObjectDB BIRT driver has the following limitations that should be fixed: It works with Eclipse 3.6 and BIRT 2.6 but not with Eclipse 3.7 and BIRT 3.7. It is bound to a specific ObjectDB version that it contains. ... (as 2 Eclipse bundles) is also attached, so you can just drop the last objectdb.jar file and the two attached jar files in your Eclipse ...

 
forum_thread

How to do multithreading with embedded ObjectDB

Hi, I've tried to implement a counter with ObjectDB, but the following code doesn't work as expected: ... ( "objectdb:$objectdb/db/test.tmp;drop" , properties ) ; and then replacing the UPDATE query ...