ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
128

Memory Leak in EntityManagerFactory ?

understand. 1. the server is running in embedded mode 2. the static EntityManagerFactory (m_manager ... and static EntityManagerFactory Object (i.e. m_manager_factory) as you can see in the screenshot ... from an EntityManager in the connection pool of a live EntityManagerFactory, where that EntityManager
127

EntityManagerFactory objects being locked during EntityManager creation

Issue Details : We've been observing lately an issue with ObjectDB wherein the EntityManagerFactory ... EntityManagerFactory locking mechanism to get deeper insight into this issue. Note: We have tried ... wherein the EntityManagerFactory objects are being locked during EntityManager object creation. This is the normal behavior
127

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

static void main(String[] args) {   EntityManagerFactory emf = null;   EntityManager em = null ... ) {   EntityManagerFactory emf = null;   EntityManager em = null;   try {    emf = Persistence ... EntityManagerFactory switched over to the slave; however, the connection is closed. COUNT = 8 Entity manager
125

Objectdb EntityManagerFactory problem

Your question is unclear. You can close each EntityManagerFactory by using the close method. By the way, creating an EntityManagerFactory is relatively slow. It is usually better to use one EntityManagerFactory per application, with multiple EntityManager instances for multiple database connections. support Support
125

High memory consumption even after close() of EntityManagerFactory

could not be released. Not even after the EntityManagerFactory closed. We created a small test ... (if the pool is not disabled) on EntityManagerFactory close. support Support The optimization of memory ... released (if active) on EntityManagerFactory close. However, there are other structures
124

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

from a closed EntityManagerFactory at com.objectdb.o._PersistenceException.b(_PersistenceException ... a connection from a closed EntityManagerFactory at com.objectdb.o.MSG.d(MSG.java:61) at com
34

Database Connection using JPA

of an EntityManagerFactory instance is to support instantiation of EntityManager instances. An EntityManagerFactory is constructed for a specific database, and by managing resources efficiently (e.g ... for that database. The instantiation of the EntityManagerFactory itself might be less efficient
23

Obtaining a JPA Database Connection

content also require an EntityTransaction instance. Obtaining an EntityManagerFactory Obtaining ... of EntityManagerFactory that represents the relevant database and then we can use that factory instance ... to be able to generate an EntityManagerFactory. But when using ObjectDB you can either define a standard
5

Step 3: Add a Context Listener Class

a JPA's EntityManagerFactory instance with a global application scope. We have to register ... if not existing yet) when the web application starts, by instantiating an EntityManagerFactory ... closing the EntityManagerFactory. To register a ServletContextListener: Open the [New Listener] dialog
5

Step 3: Add a Context Listener Class

a JPA's EntityManagerFactory instance with a global application scope. We have to register ... if not existing yet) when the web application starts, by instantiating an EntityManagerFactory ... closing the EntityManagerFactory. To register a ServletContextListener: Open the [New File] dialog box

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support