About named queries

forum_thread

removed objects stay with null field values in the reference

We have a class with a one to many relationship declared like this (1 or more objects of the same class are linked into the relationship, no circular referencing): #1 2014-05-07 19:30 We have a class with a one to many relationship declared like this (1 or more objects of the same class are linke ...

 
forum_thread

using objectdb.jar in writing data to mariadb or mysql db

Hello All, ... and python or php for the web version but i want to code queries in native java and reduce the use of regular sql patterns. Can my ...

 
forum_thread

Objectdb Doctor

Hi, I have deleted an instance of ClassA. However, if I try to access ClassB, which has a field of type ClassA, ClassB.classA, then, rather than getting a null pointer for classB.classA, I get an enormous exception. How does the ObjectDB Doctor help?  ... but rather computed on the fly by executing automatic queries). ObjectDB Doctor can help in this context in two ways: ...

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: #1 2012-07-11 07:50 Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have t ...

 
forum_thread

Wrong select results

Hello, I got a realy strange SELECT problem. In explorer query "select p  from Player p where p.confirmed==false", given me some results with p.confirmed==TRUE. And when I try to do (see image) "select p, p.confirmed  from Player p where p.confirmed==false", I getting p->confirmed->true and p.confirmed->false. How so? <odb v2.6.5_05> And this problem not only in explorer #1 2016-11-17 09:51 Hello, I got a realy strange SELECT problem. In explorer query "select p  from Player p where p.confirmed==f ...

 
issue

Internal Exception: null

The query SELECT COUNT(t) FROM TrackerUser t WHERE NOT t.username = :username with :username -> "admin" leads to the following exception: Bug Version: Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in memory represents the first 40GB of the 800GB on-disk for super-fast recent entry searching, the records at the end continuously purge as the new ones come in(duplicate write, one to in-memory and one to on-disk). #1 2011-04-02 11:02 I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking ...

 
forum_thread

@ElementCollection of type enum

Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) private Set<UserPermission> permissions; package x.x.x.x public enum UserPermission { BASIC, COACH, ADMIN } Use case: there are users which contain the first 2 permissions (BASIC and COACH, so the first 2 entries). #1 2014-02-04 15:03 Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) ...

 
forum_thread

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer {     @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private Merchant merchant;       @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private List<Store> stores;     // Setter/Getter ... index separately but will join them together in relevant queries. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Reporting Engine?

New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there something better matched? I am ideally looking for something template based with external template designer to customize the template.    ... as web pages using JSP, JSF, etc. (with code for running queries). I will do some checks to see if ObjectDB - Birt integration ...