About URL

forum_thread

Is persistence version 2.1 supported?

Using the current version of persistence.xml leads to an error: ... <property name="javax.persistence.jdbc.url" value="$objectdb/db/vsp.odb"/> <property ...  was added in build 2.5.7_05. The url to java.sun.com doesn't exist, so the correct header is: ...

 
forum_thread

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format" the entity classes have in the old database file and compare that with the new classes definitions?   Thanks, farid ... with. To do so, I create a new URLClassLoader with a URL pointing to the folder containing my Class hierarchy like so:  ...

 
forum_thread

Open several objectdb databases the same time

We tried to open objectdb databases from application and got following error: ... enabled = "true" /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) ... Auto-login of last opened (remote) database puts the full URL into the Database Path field, when it should be only the database path. ...

 
issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... "/opt/tomcat7/xxx" /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... = "0" /> <url-history size = "50" user = "true" password = "true" ... /> <replication url = "objectdb://12.345.678.910:6001/KAKI.odb;user=admin;password=admin" ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Spring MVC web application project.... <property name = "javax.persistence.jdbc.url" value = "$objectdb/db/guests.odb" /> <property ... be used as a JPA provider with the specified database url. The next step is adding a Spring DAO Component class that will ...

 
forum_thread

Using explorer with a live embedded db

I want to use ObjectDB explorer with a running embedded db. This issue:  http://www.objectdb.com/database/forum/617   shows a way to do it. I followed the instructions, but still received an error when trying to connect: "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. ... the problem is elsewhere. Do you specify port 10306 in the url of the embedded database? Can you try using an ordinary disk rather than a ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... <network inactivity-timeout="0" />   <url-history size="50" user="true" password="true" />   <log ... />   <!--   <replication url="objectdb://localhost/test.odb;user=admin;password=admin" />   ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application.... <property name = "javax.persistence.jdbc.url" value = "$objectdb/db/guests.odb" /> <property ... be used as a JPA provider with the specified database url. The next step is adding an EJB Session Bean that will manage ...