About URL

forum_thread

best practice for DB recovery

Hi, I'm trying to come up with the best approach for supporting some kind of hot standby for my master DB. ... your web application to the slave (not by using a dual url, but by using only the master url and when it fails switching to the slave url by your DAO layer). If ...

 
forum_thread

Replicated cluster recovery

If I create a replicated database cluster as per http://www.objectdb.com/java/jpa/tool/replication what is the behaviour of the master database after a failure? For example, say I have MasterDB and SlaveDB in the cluster. If MasterDB goes offline the application will automatically switch to SlaveDB. When MasterDB comes back online it will have missed any activity that occured during the downtime. ... via PMF? Switching is automatic - between a main url and backup urls, which may also reference databases on different nodes. ...   hare is the connection url: ...

 
forum_thread

ObjectDB within a resource adapter module and Java EE Connector Architecture

Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Architecture so that it may be packaged separately from (but used by components of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? ... unit name (which can also be an ObjectDB database url) in the unitName parameter of @PersistenceContext , but this seems ... logical path with a parameter (similar to $objectdb in the url) with a value from a system property. Check what can work for you and if ...

 
forum_thread

Spring 4 setup

Can someone provide an example of setup ObjectDB embeded to be used with Spring4? Existing examples is like for Spring3 and I can't figure how to use ObjecDB in Spring tutorial: http://spring.io/guides/gs/accessing-data-jpa/   Thanx. ... ObjectDB Repository </name > <url > http://m2.objectdb.com </url > </repository > In the Application ...

 
forum_thread

problems using the explorer

we are currently evaluating objectDB. Environment OSX 10.9.2, JavaSE-1.7 Version: Kepler Service Release 2 Build id: 20140224-0627 ObjectDB 2.5.5 Maven project, objectDB relevant sections: ... ... ObjectDB Repository </name > <url > http://m2.objectdb.com </url > </repository > </repositories > ...

 
api-jdo

getConnectionURL()

Get the URL for the data store connection.(Method of javax.jdo.PersistenceManagerFactory)

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> #1 2011-04-12 16:36 I'm trying to replicate a database using the following config: <server>   <connec ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ...

 
forum_thread

Netbeans-Friendly Javadocs

Is there a .jar or URL that I can use to get javadocs that work within Netbeans code prediction popup boxes? I tried attaching the URL: http://www.objectdb.com/api/java/jpa/EntityManager to the EntityManager object in Netbeans but it gives me the error: Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager. ... Is there a .jar or URL that I can use to get javadocs that work within Netbeans code prediction popup boxes? I tried attaching the URL: http://www.objectdb.com/api/java/jpa/EntityManager to the ...

 
api-jpa

getClassLoader()

Returns ClassLoader that the provider may use to load any classes, resources, or open URLs.(Method of javax.persistence.spi.PersistenceUnitInfo)