About path

release

2.3.5

... in enhancement of more than one class path root ( issue #82 ). Fixed a NullPointerException on ... PK embedded IDs. Fixed default ObjectDB home path ( $objectdb ) in NetBeans RCP . Fixed a Doctor and ... mode. Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code ...

 
manual

Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365.... the code above could generate a backup whose full path is  c:\objectdb\backup\201012312359\test.odb  (if ... as a value for the target parameter it represents a path relative to the ObjectDB home directory, and in client-server ...

 
issue

ODB Doctor Stops Progressing (runs forever)

Hi, ... NEW_consumer_target_Kroger_15.odb$ export PATH=$PATH:/cap/AdherisHealthSolutions/Java/bin/ ...

 
forum_thread

Source not found error after downloading ObjectDB 2.3.7_04

Code snippet: Properties prop = new Properties(); prop.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); prop.setProperty("javax.jdo.option.ConnectionUR","local.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop); PersistenceManager pm = pmf.getPersistenceManager();   I am getting an error Source attachment does not contain source for File PMF.class. ... existing project. I added the Objectdb.jar file in build path. There were no compile time errors. I debugged following code ... above statement in RED it asks me to mention the source path so I added file ...

 
forum_thread

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); ... sure how the enhance() method looks up the model path since it will be inside the example.jar after building? ... Build time enhancement is tricky since the path will change depending on which environment the jar is run on. Load time ...

 
forum_thread

Spring MVC Errors

I try to import the project from the tutorial but when doing so I get errors: 1. http://i.imgur.com/tbIsj.png and then when I try to start it anyways I get things like thaat: 2. http://i.imgur.com/G7UVu.png any ideas ? I installed m2eclipse plugin and Maven Integration for WTP and then I import Maven project from disk and this is what I get ... ;( ... like this:   Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: ... this is the error: Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: ...

 
tutorial

Step 7: Run the Spring Web App

Shows how to run the NetBeans Spring MVC JPA web application.... page) with the following redirection to the controller path: <jsp : forward page = "guest.html" / > ... enter:- -javaagent:C:\objectdb\bin\objectdb.jar (use the path to objectdb.jar on your computer). Click the Close button. ...

 
forum_thread

Is there an update on running ObjectDB purely in-memory?

Hi, I know that this has been asked, but the last time seems to be two years ago, so I'd like to know whether there is a change or an outlook regarding the topic: Is it possible, or planned, to run ObjectDB purely in-memory, without a any file on disk? Note that "file on RAM disk", which was proposed in the past, is not an option for the application I have in mind. It would need to be true in-memory mode, as supported by SQL databases like H2 or SQLite. Thanks, David ... </database > Any database url or path with one of these specified suffixes will be handled as a memory database, ... "objectdb:test.mem" ) ; The exact path (as long as it is ended with such suffix) has no real effect except in ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... enabled = "false" sync = "false" path = "." max = "100mb" /> <recording enabled = "true" sync = "false" path = "." mode = "write" /> <locking ...

 
forum_thread

JPQL JOIN FETCH Error

Hello I get an error when executing the following JPQL query: ... valid JPQL query since JOIN FETCH should be followed by a path with no variable (and maybe it is supported by Hibernate / HQL as an ... ) ...I get the error: Invalid fetch path: .titles for type ch.ethz.id.wai.doi.bo.Metadata John ...