About EntityManagerFactory

issue

Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb.com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in further version. Can you implement it that ObjectDB used temporary files? ... "true"); EntityManagerFactory emf = Persistence . ...

 
forum_thread

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 final oracle jdk 1.7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used for building the Guestbook.war only maven.   My GuestDAO code is as follows: ... em ; but it is working when the EntityManagerFactory gets injected instead of the EntityManager @ ... unitName = "guest-pu" ) private EntityManagerFactory emf ;   public EntityManager ...

 
release

2.4.3

... Fixed a username/password issue in using EntityManagerFactory 's getMetamodel . Fixed a bug in ... EntityManager . Fixed a bug in concurrent EntityManagerFactory instantiation . Fixed a bug in ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... ) throws Exception {   EntityManagerFactory emf = Persistence . ...

 
release

2.4.2

... Fixed a username/password issue in using EntityManagerFactory 's getMetamodel . Fixed a bug in ... EntityManager . Fixed a bug in concurrent EntityManagerFactory instantiation . Fixed a bug in ...

 
release

2.6.4

... database page objects reuse to release to be cleared on EntityManagerFactory close. Fixed a bug in hierarchy schema ... JPA 2.1 methods. Implemented new JPA 2.1 EntityManagerFactory methods:  createEntityManager , unwrap . ...

 
forum_thread

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license) to the objectDB library.... ( ) ) ;   EntityManagerFactory emf = Persistence . ...

 
forum_thread

Error 363 - Failed to read value of inverse relationship

I've got two objects: @Entity public class EEvent { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @ManyToOne(optional=false) private ETown town; public ETown getTown() { return town; } public void setTown(ETown town) { this.town = town; } } And: ... , "admin" ) ; EntityManagerFactory emf = Persistence . createEntityManagerFactory ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to add a servlet that manages persistence using JPA and ObjectDB to a NetBeans Web Application.... // Obtain a database connection: EntityManagerFactory emf = ( EntityManagerFactory ) getServletContext ( ) . getAttribute ...

 
release

2.4.1

... Fixed a username/password issue in using EntityManagerFactory 's getMetamodel . Fixed a bug in ... EntityManager . Fixed a bug in concurrent EntityManagerFactory instantiation . Fixed a bug in ...