About files

forum_thread

Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. #1 2011-12-14 12:24 Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder h ...

 
forum_thread

Extra uninitialised entities spawned on merge()

In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Element owner - List<Element> ownedElements, and Example is a subclass entity with a relationship @OneToOne Element child. #1 2012-06-05 03:25 In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Elem ...

 
forum_thread

Weird behaviour with enhanced classes and embedded entities

Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing. Here is a small sscce which reproduces the issue: #1 2014-07-30 11:27 Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries ...

 
page

Eclipse Public License - v 1.0

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 1. DEFINITIONS "Contribution" means ...

 
issue

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

TreeSet and compareTo() issue

Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find(): #1 2016-02-02 20:48 Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find(): a ...

 
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) ...

 
issue

InternalException: null

Hi! when I run my application where 10 threads are concurrently accessing ObjectDB (only reading) via using ExecutorService, then these 2 mistakes are coming rapidly: 1. Bug Version: 2.6.1 Priority: High Status: Fixed Replies: 1 Type:  Bug ...

 
issue

NullpointerException when execute a commit

Hello, following exception occurs when using objectdb: Bug Version: Priority: High Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

Hello! This query is working fine SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2 JOIN $1.sender $3 WHERE ($2.id='22afeafe-363f-4397-8553-cc5688ba142d') OR ($3.id='22afeafe-363f-4397-8553-cc5688ba142d')  ORDER BY MAX($1.createDate) DESC   but this query returns an exception "com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV" SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2  #1 2013-08-01 11:05 Hello! This query is working fine SELECT DISTINCT $1   FROM ChatHistoryItem $1 JOIN $ ...