ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
126

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
125

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

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
123

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
123

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
56

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
45

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
42

Shared (L2) Entity Cache

by the EntityManagerFactory and shared by all its EntityManager objects. the broader scope ... to the EntityManager's L1 cache and the EntityManagerFactory's L2 cache, which are managed ... is wider, since they exist per database and are shared by all the EntityManagerFactory and EntityManager
9

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
9

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

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