Fast Object Database for Java - with JPA/JDO support

Internal Website Search

1-10 of 10 resultsRefresh
65

Step 3: Add a Context Listener Class

: public void contextInitialized(ServletContextEvent e) { com.objectdb.Enhancer.enhance ... attribute in the servlet context - when the web application starts (contextInitialized). Retrieves
65

Step 3: Add a Context Listener Class

{ // Prepare the EntityManagerFactory & Enhance: public void contextInitialized ... starts (contextInitialized). Retrieves the EntityManagerFactory from the application scope attribute
5

Error when using Object DB Java Agent

) at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77) at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:152) at org.slf4j
3

JBoss 7 startup fails

service thread 1-3) at guest.GuestListener.contextInitialized(GuestListener.java:10) 13:49:37,710 ... ] at guest.GuestListener.contextInitialized(GuestListener.java:11) [classes:] at org.apache.catalina
3

Cannot initialize db after inserting a java.util.List

.contextInitialized(StartupContextListener.java:19) at org.mortbay.jetty.handler.ContextHandler ... .conf.startup.StartupContextListener.contextInitialized(StartupContextListener.java:19) at org
2

Unexpected Exception during commit

.EntityManagerFactory.contextInitialized(EntityManagerFactory.java:55) at org.apache
2

Database is erased after deploying a new web application version

of the exception. In contextInitialized and contextDestroyed if invoked automatically as a listener
2

UserException: Package com.example.model is not found by the enhancer

" + ".*"); during contextInitialization. In my setup I'm using JDK 8, Object DB and Embedded Tomcat 8.0.3 so after clean
2

Getting com.objectdb.o.UserException:

.enhanceClasses(Unknown Source) at com.anritsu.eu.database.JDOObjectEnhancerListener.contextInitialized
2

Spring Data JPA

.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache

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