ObjectDB ObjectDB

Internal Website Search

101-110 of 142 resultsRefresh

JBoss 7 startup fails

>index.jsp</welcome-file> </welcome-file-list> <listener> <listener-class>guest.GuestListener</listener-class> </listener> <servlet> <description></description> <display-name ... subsystem 13:49:26,858 INFO [org.jboss.as.remoting] (MSC service thread 1-2) Listening on /127.0.0

Adding EntityListener Throws Unexpected Internal Exception

.. } 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 ... ? If you try the code above on your listener class in a console application, probably no exception


Method javax.jdo.listener.InstanceLifecycleEvent Object getTarget() The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The detached instance for preDetach and postAttach


Static Field javax.jdo.listener.InstanceLifecycleEvent int STORE Since: JDO 2.0


Static Field javax.jdo.listener.InstanceLifecycleEvent int LOAD Since: JDO 2.0


Method javax.jdo.listener.InstanceLifecycleEvent int getEventType() Returns the event type that triggered this event. Returns: the event type Since: JDO 2.0


Method javax.jdo.listener.InstanceLifecycleEvent Object getDetachedInstance() Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"


Static Field javax.jdo.listener.InstanceLifecycleEvent int DIRTY Since: JDO 2.0


Static Field javax.jdo.listener.InstanceLifecycleEvent int DETACH Since: JDO 2.0

InstanceLifecycleEvent(source, type, target)

Constructor javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent( Object source, int type, Object target ) Creates a new event object with the specified source, type, and target. Parameters: source - the instance that triggered the event type - the event type target - the "other" instance Since: JDO 2.0

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