About member

release

2.3.4

... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...

 
forum_thread

IN operator syntax

Hi, what is the correct syntax for IN operator when list of literals ia used instead of parameter, e.g. SELECT FROM Info i WHERE i.status IN (1,4) ? (Suppose status is int.) I always get this exception: SELECT FROM Info i WHERE i.status IN (1 ==> , <== 4) javax.persistence.PersistenceException Unexpected query token ',' (closing ')' is missing) (error 752)   Query with only one item in list works fine: ... 1 ) The same behavior is when using MEMBER OF operator. Thanks. Marta   ...

 
forum_thread

Navigation and Parameters

Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x.a IS MEMBER OF :y.b... : SELECT x FROM ClassX x WHERE x . a IS MEMBER OF :y . b Thank You ! ...

 
forum_thread

Efficient query on EmbeddedId

Hi! I have an entity class with an @EmbeddedId (field1 int and field2 int). Based on the manual, I understand that making a query just on entity.id.field1 is efficient. Of course, making a query containing the whole EmbeddedId is the ideal case, and I use it, but I need more use cases. #1 2014-07-25 16:29 Hi! I have an entity class with an @EmbeddedId (field1 int and field2 int). Based on the manual, I unders ...

 
api-jpa

in(values)

Create a predicate to test whether the expression is a member of the argument list.(Method of javax.persistence.criteria.Expression)

 
api-jdo

Persistent.column

Column name where the values are stored for this member.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jdo

Persistent.extensions

Vendor extensions for this member.(Annotation Element of javax.jdo.annotations.Persistent)

 
issue

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread, collection methods (IS EMPTY, SIZE, MEMBER OF, IN) are not supported for mapped by (inverse) collections.   ... , collection operators and methods (IS EMPTY, SIZE, MEMBER OF, IN) are currently not supported for mapped by (inverse) ...

 
forum_thread

can not use spring-data-jpa repository with NamedQuery

in spring-data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods.named-queries for example ... , query = "select f from Foo f where :bar member of f.bars" ) public class Foo implements ...

 
api-jpa

javax.persistence.metamodel.ListAttribute

Instances of the type ListAttribute represent persistent javax.util.List-valued attributes.(Interface of JPA)