About ORDER BY

api-jpa

multiselect(selections)

Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)

 
api-jpa

multiselect(selectionList)

Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery<T>)

 
api-jpa

multiselect(selectionList)

Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)

 
forum_thread

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c.employeeEntity = e) ORDER BY e.name with Hibernate, there was no problem with this query, but ObjectDB throws exception: ... c WHERE c. employeeEntity = e ) ORDER BY e. name with Hibernate, there was no problem with this query, ... are several JPA features that are currently not supported by ObjectDB. They are listed in the issue tracking system , and ... page, sorry about that. I was generating metamodel by myself. I replaced it with "employeeEntity", but the result is the same. ...

 
api-jdo

javax.jdo.JDOReadOnlyException

This class represents exceptions caused by an attempt to update a datastore when the PMF was created as "read-only".(Exception of JDO)

 
api-jdo

javax.jdo.JDOObjectNotFoundException

This class represents exceptions caused by the user accessing an object that does not exist in the datastore.(Exception of JDO)

 
api-jdo

javax.jdo.JDOUserCallbackException

This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners.(Exception of JDO)

 
api-jdo

javax.jdo.JDODetachedFieldAccessException

This class represents exceptions caused by access of an unloaded field while the instance is detached.(Exception of JDO)

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... identified (and can be retrieved from the database) by the combination of its type and its primary key. Primary key values are ... separate identity. Automatic Primary Key By default the primary key is a sequential 64 bit number ( long ) that is set ...

 
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). ... entries). Bug: If UserPermission enum is modified by adding, for example, BASIC231 between BASIC and COACH values, data in ... entities in the DB. Mention: I have seen this bug by checking the values in DB explorer, but also by printing logs directly in ...