ObjectDB ObjectDB

Internal Website Search

61-70 of 140 resultsRefresh
19

how to query by properties of onetomany relations? (Error 990)

future versions. However, this query is invalid. You cannot navigate through collections in JPQL directly ... ;         }     }    } This is of course an extension to the standard JPQL. The following 2 queries are now equivalent ... using standard JPQL by setting the following query hint: em.setProperty("objectdb.query-language
18

Issue with Casting / Joins

out of here?? thanks so much Alex quasado Alexander Adam You may try using a string based (JPQL) query instead ... an extension to JPQL). support Support Hi, Actually I need to stick with the Criteria API as a lot ... in JPQL though I was under the impression that it is supported within the Criteria API or isn't
16

Explorer in 2.3

to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive ... queries (JPQL, JDOQL and ObjectDB extensions) are supported. SHA1.hash("mypassword") is currently ... to set a value when editing a field, not a JPQL expression in a query. For example, I double click
13

JPA Named Queries

A named query is a statically defined query with a predefined unchangeable query string. Using named queries instead of dynamic queries may improve code organization by separating the JPQL query strings from the Java code. It also enforces the use of query parameters rather than embedding literals
12

Running JPA Queries

Explains how to use JPA to run Java Persistence Query Language (JPQL) queries.
5

javax.persistence.Query

javax.persistence Interface Query Subinterfaces: TypedQuery Interface used to control query execution. Since: JPA 1.0 See Also: TypedQuery Parameter Learn how to define and use JPA/JPQL queries in ... .0 ObjectDB Notes: Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA
4

javax.persistence.Parameter

javax.persistence Interface Parameter<T> Subinterfaces: ParameterExpression Type for query parameter objects. Since: JPA 2.0 See Also: Query TypedQuery Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. String getName() Return the parameter name, or null
4

javax.persistence.TypedQuery

javax.persistence Interface TypedQuery<X> Superinterfaces: Query Interface used to control the execution of typed queries. Since: JPA 2.0 See Also: Query Parameter Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete
4

getFirstResult()

Method javax.persistence.Query int getFirstResult() The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns: position of the first result Since: JPA 2.0 Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual.
3

Multiple MEMBER OF query

OF item.labels Is it a bug or JPQL query is wrong? Best regards, Pablo. Pablo Berra Pablo Berra This seems to be the result of how JPQL queries are converted into SQL like syntax before executing. MEMBER ... . So, if it is a JPQL parsing/conversion problem, can I avoid that using the criteria API query

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support