About FROM

forum_thread

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: ... now is the logfile at c:/ locked. The problem from the begining was that because glassfish could't undeploy the webapp in ...

 
forum_thread

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... 2013-09-13 18:20 From my original post : Adding ?port=XXXX at the end of the ...

 
forum_thread

Online backup problem

Hi, We are trying to create a servlet that performs database online backup. Unfortunately, even though no exception is thrown, backup files aren't created. When I turn on DEBUG logging in ODB, I get multiple ClassNotFoundExceptions like : ...   I also tried to perform backup from standalone application - with the same result. ...

 
forum_thread

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

I have a call to getObjectsById(Collection,boolean) that is throwing a JDOException the first time I'm attempting to retrieve an object. If I try again, then the second request succeeds. Any idea why this might occur? We're using ObjectDB 2.2.4_02. The collection being passed in is a HashSet<Object> containing a single oid object (the method is written to support multiple objects, but it seems to only be failing irregularly when only a single oid is present). I'm passing false in as the verification argument.... lab system, but I wrote down the following notes from our logs: [ObjectDB 2.2.4_02] javax.jdo.JDOUserException Failed to ...

 
issue

Activation & Object Model Enhancement

We'd like to buy and use OEM Licenses. However, our object model gets enhanced at runtime (using JEnhancer directly) and not at compile time so we can not "sign" our object model at compile time though we are unable (and don't want) to activate each oem instance so we'd need a solution for this.     thanks Alex ... it will require singing an agreement to protect ObjectDB from unauthorized distribution. Please open a support ticket to discuss the ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: ... The stack trace indicates a missing (or empty) FROM clause in a DELETE query. Could you please post the query and/or ...

 
forum_thread

Connection performace after upgrade to objectdb 2

Hi, I have a problem with objectdb 2 when I tried to get the PersistenceManagerFactory and PersistenceManager : In objectdb 1 : PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(getProperties(physicalPath, objectName), JDOHelper.class.getClassLoader()); takes only 3ms PersistenceManager pm = pmf.getPersistenceManager(); takes 40ms However, with objectdb 2, the same instructions take respectively : 257ms and 238ms which is very expensive. ... on many odb file, the idea is to be able to dispaly data from any of them at any time later. So I need to create ...

 
forum_thread

Does ObjectDB support @Parent for @Embeddable reference to parent?

AFAIK JPA does not directly support an @Embeddable referencing the parent in which it is @Embedded. But Hibernate has a special @Parent for it (see Entity extensions 2.4.3.4.@Parent). @Entity public class Person { @Embeddable public Address address; ... } @Embeddable public class Address { @Parent public Person owner; ... } Is there a safe and recommended way of achieving this in ObjectDB ? ... first post. Sorry, excuse lazy copy-and-paste from stack forum posting (I had already noticed it). ...

 
forum_thread

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! ... using one ObjectDB database, which would be accessed from all the hosts, rather than a separate database for every host. ...

 
forum_thread

Opensource ObjectDB

I know you have answered this question some years ago, but I think about the databases that have recently "triumphed" like MySQL, MongoDB or SQLite and they are free databases. Also in the Java world we have the example of Hibernate (ORM) and Apache Hadoop (framework for Big Data). ... but modest growth. Open sourcing is a risk. If income from support, special features, etc. will not be sufficient we may be in a big ...