About path

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 ... while the entity classes are not in the class path allows objectdb to retrieve the data model as it is in the database file ...

 
forum_thread

Lazy Init / Eager / Join Fetch collection strategy ? What to choose ?

Hello, I'm doing some tests to choose the best collection fetch strategy. I have entities with many lazy collections and i don't want to load them all. In JPA / Hibernate world it exist some tests demonstrating how to choose the best strategy. For example : http://zeroturnaround.com/rebellabs/how-to-use-jpa-correctly-to-avoid-complaints-of-a-slow-application/ In this article,join fetch seems to be the right choice. What about ObjectDb ? The implementation is totally different. #1 2015-06-09 21:12 Hello, I'm doing some tests to choose the best collection fetch strategy. I have entities wit ...

 
forum_thread

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: ... JDO implementation in your web application or class path. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Open several objectdb databases the same time

We tried to open objectdb databases from application and got following error: ... = "6136" max = "100" /> <data path = "$objectdb/db" /> <embedded-server enabled = ...

 
forum_thread

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

Hello, I've written a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on localhost. When I try to persist the entity I'm getting the  javax.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136/technolink.odb;user=admin;password=admin exception in the Karaf log. ... thank you for confirming that changing the class path is the right way to go. At least I'm not missing something really ...

 
issue

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

ObjectDB 2.3.6_16: The following works in EclipseLink+MySQL and EclipseLink+Oracle: ... Just set System.setProperty("objectdb.conf", "[PATH of objectdb.conf]"); before open database. ...

 
forum_thread

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? ... by its own. You may define, however, a multi path index on a field in the embedded object. The index is defined in the ...

 
forum_thread

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 - 2.5     Mac OS X     jdk1.7.0_51 or jdk1.8.0_60     NetBeans 8.1Beta ... Ant script for the post-compile enhancement the class path is: javac. classpath : lib / objectdb. jar :/ usr / ...

 
release

2.1.1

... mode. Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code ...

 
forum_thread

Tomcat + JPA Problem

Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package   ... You can change it to absolute path and rebuild and redeploy the web application. The default ( ...