About configuration

forum_thread

Log4j error

Hi, We are using OBjectDB OEM Enhancer as part of our build process and we encountered following log4j error: ... that ObjectDB's logging somehow changes our own log4j configuration?   Thanks ...

 
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 ...

 
forum_thread

LDAP and ObjectDB

Hello, Is there any advantage in using LDAP with ObjectDB? I notice that I would still have to query the config for the credential, as well as query LDAP, a doubling of the work.   Thanks ... users and permissions in the database but not in the configuration file. You can use one shared user in objectdb.conf ... The purpose of the user permissions in the configuration is mainly for managing different users that use different ...

 
forum_thread

Groovy JPA example

I've been using Groovy with ObjectDb, just thought I'd post a short snippet to show how easy this is to do. The following script (which is one import and one statement) will open a database, run a query and print some results. --------------------------------------------------------------- import javax.persistence.Persistence #1 2011-10-10 05:21 I've been using Groovy with ObjectDb, just thought I'd post a short snippet to show how easy this is to d ...

 
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

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

Constants.PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER

Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally.(Static Field of javax.jdo.Constants)

 
api-jdo

getPersistenceManagerFactory(pmfClassLoader)

Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig.xml", using the given class loader.(Static Method of javax.jdo.JDOHelper)

 
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)