About member

forum_thread

Index on map key

Is there a way to create an Index with @Index on the key of a map? #1 2013-10-02 06:10 Is there a way to create an Index with @Index on the key of a map? ...

 
forum_thread

can removing an entity throw an exception if the entity is in use?

Suppose you have an entity @Entity class A { ... } and other entities with references to A.   e.g. @Entity class B { A a; // explicit reference to A List<A> list; // list of A's Set<A> set; // set of A's Set untyped; // general collection that may include A's } Objectdb allows me to remove an instance of A, even if a managed B has some reference to that A. When I then find the B instance and try to reference the A, I get an EntityNotFoundException. ... b FROM A a , B b WHERE a = b . a OR a MEMBER OF b . list ... The query will have to be adjusted to ... b FROM B b WHERE :a = b . a OR :a MEMBER OF b . list ...   ObjectDB ...

 
manual

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query.... , c2 FROM Country c1 , Country c2 WHERE c2 MEMBER OF c1 . neighbors Multiple variables are equivalent to nested ... JOIN, KEY, LEADING, LEFT, LENGTH, LIKE,LOCATE, LOWER, MAX, MEMBER, MIN, MOD, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR, ORDER, OUTER, ...

 
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: #1 2017-08-03 13:18 Hello, I changed the index definition of an entity class from @Index()... to @Indices() and now I get the ...

 
manual

Logical Operators in JPQL and Criteria API

Explains how to use AND, OR and NOT in JPQL queries.... Page... ( isInUN, isInEU ) ; // Member of both UN and EU Predicate ... ( isInOECD, isLarge ) ; // Either OECD member or large Additional factory methods are available for a ...

 
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 ... Please try build 2.6.4_08 which fixes an issue of using MEMBER with embedded objects. ObjectDB Support ...

 
manual

JPA Metamodel API

Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model.... representation of the field (or property) type: Member member = attr. getJavaMember getJavaMember() Attribute's method Return the java.lang.reflect.Member for the represented attribute. See JavaDoc Reference Page... ...

 
release

2.6.6

... time values (java.sql.Time). Fixed a bug in MEMBER OF queries on embedded objects. Fixed a bug in querying ... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...

 
forum_thread

Searching lists within objects

Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. #1 2011-07-07 00:59 Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form ...

 
release

2.6.5

... time values (java.sql.Time). Fixed a bug in MEMBER OF queries on embedded objects. Fixed a bug in querying ... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...