About between

forum_thread

JDOHelper.isDetached failure ?

Running this example code: ... that is not enhanced ObjectDB cannot tell the difference between a detached object and a transient object, so any detached object 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 ... changes etc... All these changes frequently take place between software versions and an automatic comparison of old schema vs new ...

 
forum_thread

Embedded mode usage question

Hi there ! ... in that tutorial), and actually there is no difference between client-server mode and embedded mode in your code. Both modes support ...

 
forum_thread

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the url fails the ping test.  I get (Failed to connect to server localhost:6136) The following is my setup: Dev Versions:     MyEclipse Enterprise Workbench - 12.0.0.me201311281640         -Eclipse platform - 4.3.1.v20130911 ... library for accessing the database, so a difference between accessing a local embedded database or a client-server remote database ...

 
forum_thread

java.lang.ClassCastException in OSGi runtime when loading data from DB

Hello, I'm trying to use ObjectDB in an OSGi environment (Karaf 4.0.7). I'm now facing ClassCastExceptions on my "entity" classes when I try to read data from the DB. In a very old (2011?) forum entry this problem was already discussed and it appears to be related to classloader problems. My entity is a dedicated bundle. I have one bundle with the database service (doing the actual objectdb actions -> persist, query etc). ... mean doubling the classes and having to move data around between the Entities and DTOs. Many thanks in advance for your ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... as a javaagent, but I am now seem to be getting clashes between ObjectDB enhancement and JRebel , as reported under:  JRebel ...

 
forum_thread

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue.EXCEPTION) are not enforced in 2.3.7_08 or that i have failed to understand how to annotate. example: @Entity public class Request {   public Request() { }   @Id @GeneratedValue(strategy=GenerationType.IDENTITY)   private Long id; ... effect. running `mvn test` twice in a row without a clean between them does successfully violate the @Unique constraint: [ObjectDB ...

 
release

2.6.1

... Fixed very slow processing of a composite BETWEEN query. Fixed NullPointerException when using AND ... than 2GB. Fixed a bug in running queries between flush and commit. Fixed a deadlock ( issue #62 ). ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... is in navigation among objects. Because every reference between two database objects is represented by a parent-child relationship in ... using the Left and Right arrow buttons to move fields between the "Shown Fields" and the "Hidden Fields" lists. You can change the ...

 
forum_thread

Schema update: package, class and field

Hello, how can it be specified in the schema, that an entity is moved to another package? Package Structure (version 1) com |- btc |- impl |- Class1.java |- internal |- Class2.java |- Class3.java Now I want to move Class2   from com.btc.internal to com.btc.impl ... There should not be a difference between entity and embeddable classes regarding schema changes. Maybe you are ...