ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh

Adding EntityListener Throws Unexpected Internal Exception

, we can easily provide a fix. Could you please check in this context the super class of your listener class ... .. } and listener like below: public class MyListener {     @PostLoad     public void onPostLoad(Object ... Weishaupt This is an unexpected exception. It is thrown during analysis of the listener class in

Problem to use find method on an abstract Class: AbstractMethodError is thrown

[org.jboss.as.remoting] (MSC service thread 1-10) JBAS017100: Listening on / 08:17:22,672 INFO [org.jboss.as.remoting] (MSC service thread 1-11) JBAS017100: Listening on localhost/127.0 ... .web] (MSC service thread 1-14) JBAS018210: Registering web context: /Guestbook 08:17:23,452 INFO

Entity factory

.setEntityFactory(myFactory); The JPA listeners are unsufficient since they are also created ... style). An alternative would be if one can create JPA listener instances inside his application and add this listener via API call to ObjectDB (like . Is it possible to implement such a functionality

Tomcat + JPA Problem

: Exception sending context initialized event to listener instance of class OcspServer.CertEntryListener java ... to the tomcat directory (context.xml). In my opinion this caused the trouble. Another Question, how to use ... location is specified on: http://www.objectdb.com/tutorial/jpa/eclipse/web/listener You can change

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

_persistence_context_in_stateful This however has the consequence of a long conversation until the stateful ... lazy relationships after they are detached as long as the context is still avalable ... to extended EntityManager or persistence context. - "container detached" entities are not

Query Parameters in JPA

are defined implicitly by appearing in the query string. The parameter type is inferred by the context. In


context. Since: JPA 1.0 String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not


javax.persistence Annotation EntityListeners Target: Classes Specifies the callback listener ... or mapped superclass. Since: JPA 1.0 Learn how to define and use entity listeners in Chapter 3 of the ObjectDB/JPA manual. Class[] value The callback listener classes The callback listener classes Since: JPA 1.0


persistence context is to be used in PersistenceContext. If not specified, a transaction-scoped persistence context is used. Since: JPA 1.0 PersistenceContextType EXTENDED Extended persistence context Extended persistence context Since: JPA 1.0 PersistenceContextType TRANSACTION Transaction-scoped


to the listener list. Add the specified RegisterClassListener to the listener list. Parameters: crl - the listener to be added Since: JDO 1.0 void addStateInterrogation( StateInterrogation si) Add ... RegisterClassListener from the listener list. Remove the specified RegisterClassListener from the listener list

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