About project

forum_thread

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor, but the same error is happening also on the fixed DB file. Btw. during fixing the DB file an Internal error was thrown (details here: http://www.objectdb.com/database/issue/285 ), but the fixing went on and created a new file. ... which holds in an ArrayList 80 instances of Project. Each Project than contains hundreds of ProjectPart-s and in each ProjectPart there ... came in the moment when I was trying to add the 81st Project in the ProjectVersionHistory. The entity itself was not ...

 
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: ... illustrates the behavior. 1) Import all Eclipse Project's 2) And then Run the JUnit Tests as PlugIn-Test ... essential files, and this could only be justified when the project structure itself is the subject of the question or issue. ...

 
forum_thread

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps them using the JPA Persistance.createEntityManagerFactory() method and passing in the persistence unit name (again, obtained from the configuration file ). ... <persistence-unit name = "project.odb" > <mapping-file > ... value = "objectdb://localhost:6136/project.odb" /> <property name = ... Persistence . createEntitManagerFactory ( "project.odb" ) ;   //this set is alwasy empty with ObjectDB ...

 
manual

Updating JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... employee. projects [ 0 ] = new Project ( ) ; // not detected automatically ...

 
forum_thread

Fantom

  Hi, so far I've been able to get ObjectDb to persist objects from many JVM languages, eg.: Java/Groovy/Scala/Kotlin. However, I can't seem to get Fantom to work. Anyone tried this yet? Dave     ... Please post a sample project, instructions on how to run it and details about the problems that you ... OdbTest::OdbTest.main" The Eclipse/F4 project is attached. Could you please help in fixing it? ...

 
forum_thread

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! ... I've been developing a GwT application as a project for my computer science faculty. It consists in 2 or 3 hosts running ... time to waste because in a month we have to finish this project. Thank you and excuse me :( ...

 
tutorial

Report Generation with BIRT and JPA

Demonstrates how to use ObjectDB as a data source of the Business Intelligence and Reporting Tools (BIRT), open source report generator.... Install BIRT and ObjectDB Driver Step 2: Create a Project and a Report Step 3: Create an ObjectDB Data Source ...

 
tutorial

NetBeans/JPA Web Application Tutorial

Step by step tutorial that demonstrates how to build a simple database web application (with Servlet and JSP) in NetBeans using JPA.... of the following steps: Step 1: Create a Web Project Step 2: Define a JPA Entity Class Step 3: Add a Context ...

 
tutorial

Getting Started with JPA and Eclipse

Getting started tutorial for quick start with using Java Persistence API (JPA) in Eclipse.... of the following steps: Step 1: Create a Java Project Step 2: Define a JPA Entity Class Step 3: Add a Main ...

 
tutorial

Getting Started with JPA and NetBeans

Getting started tutorial for quick start with using Java Persistence API (JPA) in NetBeans.... of the following steps: Step 1: Create a Java Project Step 2: Define a JPA Entity Class Step 3: Add a Main ...