ObjectDB ObjectDB

Internal Website Search

1-6 of 6 resultsRefresh
27

Replaying recorded requests...

close the database file). I have been closing the PersistenceManagerFactory in the contextDestroyed ... the PMF remains: Is it OK to close this only in the contextDestroyed method of a servletContextListener ... that closing the PMF in contextDestroyed of a servletContextListener should be fine. support
22

Database is erased after deploying a new web application version

When the application is stopped by the Tomcat manager the contextDestroyed method should be invoked ... of the exception. In contextInitialized and contextDestroyed if invoked automatically as a listener
16

JBoss 7 startup fails

.GuestListener: java.lang.NullPointerException at guest.GuestListener.contextDestroyed(GuestListener.java:20
9

Step 3: Add a Context Listener Class

void contextDestroyed(ServletContextEvent e) { EntityManagerFactory emf ... and closes the EntityManagerFactory and the database - when the application stops (contextDestroyed
9

Step 3: Add a Context Listener Class

); } // Release the EntityManagerFactory: public void contextDestroyed(ServletContextEvent e ... and the database - when the application stops (contextDestroyed). The next step is adding a servlet class that will manage the guestbook page.
3

Unexpected error when loading all entity instance

) do you close the ObjectDB database (EntityManagerFactory's close), e.g. using a contextDestroyed

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