About path

issue

Weird issue with variable naming

hi, ... When using the toString() function of the path it turns out the variable naming goes wrong ($1 is twice). Comment this ... used). Now this is critical for us because we need to full path string for query replacing stuff later on as well as this happens during ...

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

 
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

enhancement issue

Hi, still struggling with the enhancement issue. So, this works fine in development: static void main ( String[] args ) {     com.objectdb.Enhancer.enhance ( "app.model.*" ) ....   } } But in deployment, when the jar files is made with ShadowJar, this error occurs at runtime: ... back to a JAR file, so you have to specify a destination path for writing the enhanced classes as class files ( using -d ), and of course you have to make sure that the path is included in the application classpath before the jar file. ...

 
forum_thread

PersistenceException UserException: Failed to validate persistence.xml

I'm really tired of looking at the same exception all day. I have DaoService which gets initialized when app starts. ... What is the "!" character at the beginning of the path, is it part of your path? Could you try moving your project to a path with no special characters? I ...

 
release

2.3.4

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

 
forum_thread

Client server mode no longer works after JRE install

Hi I had client server mode working with no problems with my application. Then suddenly I was getting the following error "Error: missing 'server' at 'C:\Program Files\Java\jre7\bin\server\jvm.dll' on a client machine. It worked in embedded mode but not client server mode. ... my application as opposed to the version of java on the PATH variable. I will not know in advance what is on the users machine. ... as an ordinary Java program , so by specifying full JVM path you can select any JDK or JRE that is installed on your computer. ...

 
forum_thread

Changing from client server to embedded mode

Hi, I have created a java web application and used ObjectDB in client Server mmode. It worked as per my expection. In Client server mode I used Persistence.createEntityManagerFactory("objectdb://localhost/myDB.odb;user=admin;password=admin"); Now to switch to embedded mode, I have tried following things ... if you have a new objectdb.jar copy in your project, the path will be relative to it and you will have to copy your database file into ... (under objectdb/db ), you can also use an absolute path to that file as a connection url. ObjectDB ...

 
forum_thread

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> <locking version-check ...