About package

tutorial

Step 5: Add a JSP Page

Explains how to add a JSP page that uses JPA to an Eclipse Java EE 6 (J2EE) web application.... dialog box by right clicking the WebContent node (in the [Package Explorer] window), selecting  New > Other... > Web > JSP ...

 
tutorial

Step 3: Add a Main Class

Explains how to add the JPA tutorial Main class in NetBeans.... of the Main class with the following content: package tutorial ;   import javax. persistence . *; import ...

 
manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database.... and retrieve Point objects from the database: package com. objectdb . tutorial ;   @Entity ...

 
forum_thread

ObjectDB and Hibernate in one JVM?

Hi all, I need to persist my application data and also access a legacy RDBMS system in the same Java application. Currently I use Hibernate for both purposes. I've heard ObjectDB is much faster than Hibernate, so I want to try the it to deal with my application data, but I still need some ORM system to access RDBMS. #1 2013-03-14 17:44 Hi all, I need to persist my application data and also access a legacy RDBMS system in the same Java appl ...

 
forum_thread

OEM Enhancer causing Jenkins job to freeze

Hi all, We are using ODB enhancer in one of our jobs on jenkins, built via ant. Recently we started to encounter situation, where this job's execution gets stuck for ever on Jenkins. This is causing us a lot of problems with our CI. ... > <arg line = "-s ${dist.dir}/our/entities/package/" / > < / java> Is it possible to enable some ...

 
issue

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: ... read data from it.) Here is a test case: package com. experiments ;   import javax. persistence . *; ...

 
forum_thread

OutOfMemoryError on search after update on DB created with DB Doctor

It looks like there may be an issue with the DB files created with DB Doctor in recovery mode. This is the scenario that results in the OutOfMemory exception problem (using Object DB 2.5.4_04): 1. We instruct Object DB to create a 1Gb DB file on initial start-up using: <database> <size initial="1024mb" resize="256mb" page="2kb" /> This happens as expected. ... just testing the use of DB Doctor to check DB files during package installation. We get the recovered file, but it is much smaller - see ...

 
forum_thread

Problem with distinct select, order by and equivalent alias/attribute path

Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: ... }   }   package de. solvit . objectdbtest ;   import de. solvit . ...

 
forum_thread

Need help to make this test work and define proper annotations for entities Lists

Hi, I can't get this simple test case to work, i know it is probably due to the lack of proper annotations on entities list, could anyone help me to define them? NB in this test case I didn't set all entities methods for the sake of clarity, also in actual application no field are public nor static and no entity is static.    ... and no entity is static.    package testodb ;   import java. io . File ; import ...

 
issue

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the remove of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work with not enhanced JPA entities. ... work correctly with not enhanced JPA entities. package objectdb. examples ;   import java. util . HashMap ...