ObjectDB ObjectDB

Internal Website Search

61-70 of 144 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

JPA inheritance issue with ObjectDB - Field not found in type error

Vtm extends PharmaceuticalItem implements Serializable { // ... } I have a JPQL query that looks like this: String jpql = "Select vtm " + " from Vtm vtm ... > parameters) { System.out.println("findByJpql"); System.out.println("JPQL: " + temSQL
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

Updating JPA Entity Objects

have to be modified in one operation. The UPDATE Queries in JPA/JPQL in chapter 4 explains how to use JPA UPDATE 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

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.
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
2

Step 4: Create an ObjectDB Data Set

contains Point entity objects. We will use a simple JPQL query that retrieves points with x value in

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