ObjectDB ObjectDB

Internal Website Search

31-40 of 142 resultsRefresh
112

How to define Default Entity Listeners without persistence.xml and orm.xml

Listeners. How to do ? Here my init code: Properties config = new Properties(); config.put("javax ... ); } Thanks for any help mgangat Mahmoud Defining default listeners is one of the few things that currently require XML metadata. You cannot define default listeners using annotations (at least in JPA 2.0
109

listening on a particular IP aside localhost

to listen in server mode to other connections from another machine where client is installed. I ... to get that I can add port 8888 in configuration file but I wasn't able to add listening ip address such as 192.168.50.56 olyjosh Joshua Aroke ObjectDB will listen automatically to all requests to the server
107

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values ... a listener class? You may use the JDO getPersistenceManager method and cast the result ... problem for me was to get EM inside listener class. Hibernate uses Session instead of Object as method
102

Safe to monitor listening port by connect/disconnect?

I wish to monitor our instances of ObjectDB using an automated tool that simply connects and then disconnects from the ObjectDB listening port once per second (frequency is configurable). Will this cause any issue with the normal operation of ObjectDB? CAPdev CAP Dev It should be fine. support Support
19

ObjectDB Object Database Features

arrays. Any other serializable type. Lifecycle Events JPA callback methods and listener classes. JDO callback methods and listener classes. Primary Keys Support of primary keys in ObjectDB is unique
1

[ODB1] Chapter 5 - JDO Connections

to be running on a machine named host (could be domain name or ip address) and listening ... machine) and listening to the default port (6136): Properties properties = new Properties
1

javax.jdo.Constants

, which is the empty string. Since: JDO 2.1 String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance lifecycle listener element in the JDO configuration file. The name of the instance lifecycle listener element in the JDO configuration file. Since: JDO 2.1 String ELEMENT_PERSISTENCE_MANAGER_FACTORY
1

javax.jdo.PersistenceManagerFactory

listener, Class[] classes) Add the parameter listener to the list of instance lifecycle event listeners set as the initial listeners for each PersistenceManager created by this PersistenceManagerFactory. Add the parameter listener to the list of instance lifecycle event listeners set as the initial
1

javax.jdo.JDOEntityManager

1.0 void addInstanceLifecycleListener(InstanceLifecycleListener listener, Class... classes) Adds the listener instance to the list of lifecycle event listeners. Adds the listener instance to the list of lifecycle event listeners. The classes parameter identifies all of the classes
1

javax.jdo.PersistenceManager

addInstanceLifecycleListener(InstanceLifecycleListener listener, Class... classes) Adds the listener instance to the list of lifecycle event listeners. Adds the listener instance to the list of lifecycle event listeners ... listenerInstance interface. Parameters: listener - the lifecycle listener classes - the classes

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