About drop

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

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

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

 
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

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

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

java.sql.Time field off by 30 minutes

Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql.Time field. On writing and readback, the field is found to be 30 minutes off. It is observed on objectdb explorer as well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC+30min time.   ... "objectdb:$objectdb/db/test-my-entity.tmp;drop" ) ; EntityManager em = emf. ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... programs="500" />   <extensions drop="temp,tmp" /> </database> <entities>   ...

 
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

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] ... $connection = "objectdb:db/TestLazyOneToMany.tmp;drop" ; EntityManagerFactory emf = ...