About contains

forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... with the attached files. The Slave directory contains a database file (sm.odb) with 4 entity classes, 5 embeddable classes and 108 entity objects. The master directory contains an empty database file (sm.odb) with no classes and no objects. ...

 
forum_thread

Performance issues on aggregate query

we are using this aggregate query to collect some data: #1 2016-11-09 07:49 we are using this aggregate query to collect some data: select p3.doubleValue,c1.classIdentifier,c1.objec ...

 
forum_thread

Compress ODB file with XML content

Harman company requested to reduce ODB size as much as possible after database created and one of unliked solution was to use ZIP/UNZIP after/before use object DB database. Harman would like to ask Object Db team about possible internal methods to reduce/compress object DB data on run-time or after close ODB file. Does exist any compress data solution from ObjectDB side? ... in entity class  LogVolatileEntityImpl , which contains XML with a very high compression potential. Do you use that field in ...

 
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. ... configuration inside the ObjectDB jar file. This resource contains the default configuration and is in use only when no configuration ...

 
release

2.3.4

Release date: 2011-11-25 Download (5.49 MB) Binary:  objectdb-2.3.4.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks #1 2011-08-24 12:19 I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the ...

 
forum_thread

Unable to persist fields in subclass

I have a superclass Person, with several fields I have a subclass Patient with additional fields. I can persist Patient, but CANNOT persist the fields in this subclass. Why is this? example code: package miscTests; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.MappedSuperclass; ... } Using Explorer, I can see the schema contains: addressID, contactID, lastName (all from superclass) but not: ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP to an Eclipse Spring MVC JPA web application project.... The JSP generates the guestbook page output, which contains a simple form for signing the guestbook, followed by a list of all the ...

 
forum_thread

Performance in large transactions

Hello, we have a performance problem when we use a large transaction. Let's do exactly the same in several transactions the ObjectDB works much faster. In our use case, we create many new entities and between the creations we call a select query. The execution of the query becomes slower at each iteration. (In the query, we search for an item of type Entity2. However, there is only one entity.)   Pseudocode for the fast and the slow solution FAST: #1 2015-03-03 15:07 Hello, we have a performance problem when we use a large transaction. Let's do exactly the same i ...

 
forum_thread

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities. As example (like in the attached example): We have an EntityA that have a reference to an EntityB. #1 2017-03-17 09:34 Hello, we must change (extend) our entity model and therefor we convert the type of some entities. ...