About ORDER BY

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: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Exception after update of indices of Entity class

Hello, I changed the index definition of an entity class from @Index()... to @Indices() and now I get the following stacktrace upon start: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

ObjectDB 2.x is working without any activation code

Hi, I downloaded the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I used the default objectdb.conf file present in the objectdb.jar file and it is working without any activation code.. Is it is bug in objectdb or it works without actionvation code also. I am saving some information into the some.odb file and reading the informatin without any problem. What exactly is the activation code for ? Thanks & regards, ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

LazyInitialization / join fetch

I have a survey that carries the tabla Items . A company has several items , a user charge and technical user also . A specialty has several technical users . Area A has a charge . What happens : When I click the Items table hibernate does all these other queries without me asking . I have a survey that carries the tabla Items . Being a company that has multiple items , a user charge and technical user also . A specialty has several technical users . Area A has a charge . What happens : ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error appears:   ... java.lang.Thread.run(Thread.java:662) Caused by: com.objectdb.o._PersistenceException: Attempt to obtain a connection ... 61 more Caused by: com.objectdb.o.UserException: Attempt to obtain a connection from a ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. ... 2.2.2] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux ... ObjectDB supports strings in any length that is supported by Java (i.e. up to 2GB). Your test case demonstrates an ObjectDB bug ... 2.2.2_02] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux ...

 
forum_thread

Problems down-casting in WHERE clause

I have a family of related types, like this: @Entity class Base { String val1; String val2; }; @Entity class Derived1 extends Base { String val3; }; @Entity class Derived2 extends Base { String val4; };  I'm trying to implement a query which will return all Base objects which have a given string within any of their String-typed fields.  The query I'm using looks somewhat like this: ... is a List and navigation from a list must be done by an additional variable. ObjectDB supports navigation from lists as ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date value doesn't match any results in the database. Our code looks like this: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain many String. Often some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Problem witch CriteriaBuilder isMember(..)

Dear Objectdb-Team I have some Problems running a criteria query against a set. But maybe I misunderstood some essentials I have defined an entity class and an embeddable class like this ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...