About configuration

tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application.... file that was added to the project (under Configuration Files). Open the persistence.xml file in a text ...

 
api-jdo

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence.EntityManagerFactory cast to a PersistenceManagerFactory.(Static Method of javax.jdo.JDOHelper)

 
release

2.2.8

... selected rows. Fixed a replication configuration error . Version 2.2.1 Added support ... space after index deletion. Changed default configuration (enabled recovery, disabled recording). Fixed a ...

 
forum_thread

Session lost

hi team we are implementing a web application based on the Liferay, system database is handled by JPA 2.0 and entity manager. when system is idle for a long period (for example 8 hours) the Session in the Persistance Context will be lost and the DB will be out of the access, is there any possible configuration which can fix this problem.......... best ... will be out of the access, is there any possible configuration which can fix this problem.......... best ... If it is, specifying inactivity timeout in ObjectDB configuration may solve the problem. ObjectDB Support ...

 
release

2.5.6

... to TRACE  ( issue #88 ). Changed main configuration elements from required to optional. Fixed the ... Fixed evaluation of $temp in the configuration file. Version 2.2.9 Added new configuration to enable / disable auto serialization of non persistable types ...

 
forum_thread

Glassfish 4 JTA Data Source Support

I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I can configure the data source from the app server (Glassfish 4 in my case).  My application already uses a number of JDBC data sources for Oracle etc., that are configured in that way, but I'm not sure how to achieve it with ObjectDB. #1 2017-06-19 07:33 I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I ...

 
forum_thread

listening on a particular IP aside localhost

I have being searching all around for how to do this but still no luck. I want objectdb to be able to listen in server mode to other connections from another machine where client is installed. I will like to have objectdb on machine A, while B,C, D can access the database in a using code like this emf = Persistence.createEntityManagerFactory("objectdb://192.168.50.56:8888/myapp6136.odb"); emf.createEntityManager(); ... to do this. I was able to get that I can add port 8888 in configuration file but I wasn't able to add listening ip address such as ... with IP addresses is of course unrelated to the ObjectDB configuration. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Maven driven compile time ehnancement

Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... > </executions > <configuration > <mainClass > com.objectdb.Enhancer ... > </arguments > </configuration > </plugin > Then, in your ...

 
forum_thread

recovery enabled="false", still creates tablename.odb$ files

Running in embedded mode, configuration specifies "<recovery enabled ="false"... />".  Still, tablename.odb$ files get created, and if still present after an abrupt stop, the application will not restart properly.   What do we need to do to not utilize recovery files (not have orphan tablename.odb$ files)? ... Running in embedded mode, configuration specifies "<recovery enabled ="false"... />".  Still, ... directory ($objectdb). ... by default the configuration file is loaded from $objectdb/objectdb.conf. You can ...

 
api-jdo

addInstanceLifecycleListener(listener, 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.(Method of javax.jdo.PersistenceManagerFactory)