Internal Website Search

131-140 of 200 resultsRefresh

JPA Query language support in OBjectDB / Sub query or nested Query

within the ObjectDB world. I have given a sample typed query below which fails to work ... >It looks like a problem with Sub query or nested queries where I am using IN clause like below. @Query("SELECT product FROM Product product WHERE product.id in (SELECT msg.objectId

Criteria query error: Unexpected query token

._PersistenceException : Unexpected query token 'FROM' (SELECT is expected) [Proxied ... "> It seems that the query is invalid because a SELECT is not specified. Unexpected query token 'FROM' (SELECT is expected) A query

ObjectDB Explorer query error: Unexpected query token 'value'

, one of these is "value". In query tab, if I do "select value from XXXValue", I get the error <Unexpected query token 'value'>. I try  "select XXXValue.value from XXXValue" and the error is the same. Queries on others attributes work fine.  Thanks! luca.camerini Luca

Comparison in JPQL and Criteria API

Most JPQL queries use at least one comparison operator in their WHERE clause. Query Language). ObjectDB supports both forms ... JPQL (and SQL): query"> c.president IS NULL c.president IS NOT NULL

javax.persistence.criteria.CriteriaQuery

queries. Since: JPA 2.0 Learn how to define queries using the criteria API in query/criteria">Chapter 4 of the ObjectDB/JPA manual.

JPA Entity Fields

the database, but is still available after retrieval by a special automatic query. than navigation through ordinary persistent fields, since it requires running queries. Inverse fields ... running the following query (where :d represents the Department entity):

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

integrity problem, the inability to robustly query relationship fields in a web application renders ... with careful output logging to the Glassfish logs, and also with a diagnostic table showing the query ... . For a number of different List fields, a query performed immediately after creating and persisting many Element

Logical Operators in JPQL and Criteria API

Logical operators in JPQL and in JPA criteria queries enable composition of complex ... its own notation (which is also in use by JDOQL, the JDO Query Language). ObjectDB supports both forms. Binary AND (&&) Operator The following query retrieves countries

Unexpected Query Token / Casting in Query

Hi! Please find the attached database. Doing a simple query with casting query"> SELECT COUNT(DISTINCT $1) FROM com.quasado.foundation.contact ... .routingNumber) LIKE UPPER('%28%') results in the error query

[ODB1] Chapter 6 - Persistent Objects

classes are not included in the extents of their classes, so they cannot be iterated or queried ... , a Query can be used to retrieve only objects that satisfy some well defined criteria. In ... (the commented line in the code above). Retrieval by Query The most advanced method