Home » Search

About listener

31-40 of 135Refresh
Forum
21

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   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). Is there a way
Result
21

ObjectDB Object Database Features

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 compared
JDO Doc
20

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
Forum
20

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 ObjectDB will listen automatically to all requests to the server
Forum
20

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values ... regarding the technical question. Do you need to obtain an EntityManager from a listener class ... about this feature request and I'm already subscribed. The main problem for me was to get EM inside listener
JDO Doc
20

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
Forum
19

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? It should be fine.  kevinwh
JDO Doc
18

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
Manual
14

Database Connection using JPA

is expected to be running on a machine named host (could be domain name or IP address) and listening
Manual
14

Database Server

.Server -conf my_objectdb.conf start The TPC/IP port on which the server listens for new connections