About classpath

tutorial

Step 1: Create a Java Project

Explains how to create an Eclipse project with ObjectDB/JPA support. We start by creating a new Eclipse Project, using: File > New > Project... If you are using Eclipse IDE for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project]. We are not using that type of pro ...

 
tutorial

Step 1: Create a Java Project

Explains how to create a NetBeans project with ObjectDB/JPA support. We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java > Java Application and click Next . Choose a Project Name (e.g. Tutorial ). Th ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... to run the enhancer from the command line. First, the classpath has to be set to include ObjectDB and JDO jar files. For example: On Windows command: > set classpath= % classpath % ;.;c:\objectdb\lib\odbfe.jar;c:\objectdb\lib\jdo.jar   On ...

 
forum_thread

Configure ObjectDB in spring context

I have a application that initializes with spring, now I'd like to change my data access tier to ObjectDB (from Hibernate : HSQL), but I couldn't find any useful information on it. My goal is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd be able to inject EntityManagerFactory to my beans. Could you help me on this? ... { @ PropertySource ( "classpath:properties/objectdb.properties" ) , @ PropertySource ( "classpath:properties/markets/cryptsy.properties" ) } ...

 
manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation.... of a class ( without .class suffix ) in the CLASSPATH <filename> - path to class or jar file ( s ) , ... also specify names of classes that can be located on the classpath using the syntax of import statements (e.g. test.X for a single ...

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0.... Make sure that the old jar files are removed from the classpath (check both the build classpath and the execution classpath). Refresh your IDE cache. Rebuild ...

 
forum_thread

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below:   ... using jpa 1.0 implement, but I do have objectdb.jar in my classpath. can anybody help? thanks   ... Maybe you have an old JPA or ObjectDB JAR in your classpath before the new objectdb.jar file. What version of ObjectDB ...

 
forum_thread

Running doctor.jar with entity classes in classhpath

Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in explorer). Could it be possible to add that kind of feature in next relase ?   I run doctor by executing cmd like : java -cp bin\objectdb.jar;_my_model_.jar com.objectdb.Doctor old_db.db new_db.db ... with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in ... Run the Explorer with the new class in the classpath: java -cp <classpath> -jar explorer.jar In the Explorer execute a ...

 
forum_thread

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving. (To get Jrebel working properly) So i added  ... some GWT class of wich some dependencies are not on the classpath: java.lang.ClassNotFoundException: ... class leads to a failure due to a missing class in the classpath. Maybe future versions of ObjectDB should check annotations ... the entire closure of application classes available in the classpath. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help, please?... Thanks! Here it is the persistence.xml config: ... EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help, please?... ... This is what I get when I put objectdb-jee.jar in GF's classpath. Mention: I have just objectdb-jee.jar into the classpath. ...