ObjectDB ObjectDB

Internal Website Search

21-30 of 140 resultsRefresh
101

JPQL JOIN FETCH Error

Hello I get an error when executing the following JPQL query: select doi from Doi doi left join ... works on Hibernate with Oracle / MySQL / Postgres, so I'm assuming the JPQL is valid. Any ideas? Thanks John johnbrush John Brush The query is not a valid JPQL query since JOIN FETCH should be followed
46

JPA Queries

these interfaces to build and run JPQL queries. The TypedQuery interface (or alternatively the older Query interface) is the only neccessary interface for defining and running string based JPQL queries (e.g ... concatenating JPQL strings into a valid complete JPQL query. JPA 2 introduced the JPA Criteria Query API, as
43

JPA Query API

, the same JPQL query which retrieves all the Country objects in the database is represented by both q1 ... because it introduces the Country class to ObjectDB. Dynamic JPQL, Criteria API and Named Queries Building queries by passing JPQL query strings directly to the createQuery method, as shown
36

ObjectDB Object Database Features

the application. Query Support ObjectDB supports two object-oriented query languages - JPQL and JDOQL. Query Languages JPQL - Java Persistence (JPA) Query Language - SQL like syntax. JDOQL - Java Data Objects (JDO ... OUTER JOIN and JOIN FETCH). WHERE (with both JPQL and JDOQL expressions). GROUP BY (including HAVING
27

CRUD Database Operations with JPA

persisting objects in the database in more detail. JPA Queries with JPQL We can get the number of Point ... . If you have used SQL you should find the syntax very familiar. JPQL, the JPA query language, supports a SQL like ... entity objects from the database using JPA. Running a JPQL query is one of them: TypedQuery<Point
27

Query Parameters in JPA

(:) followed by a valid JPQL identifier that serves as the parameter name. JPA does not provide an API ... is :name, JPQL also supports ordinal parameters, whose form is ?index. The following method ... queries is unsafe and can expose the application to JPQL injection attacks. Suppose that the name
23

Database Explorer

to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases ... the database and their persistent fields and indexes. The [Query] window enables running JPQL ... execution of JPQL and JDOQL queries. To execute a query: Enter a query string. In the [Parameters
23

BIRT/ODA ObjectDB Driver

Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language ... Sets and JPQL To create the data set: Open the [New Data Set] dialog box by right clicking the Data ... (e.g. ObjectDB Points). Enter a data set name (e.g. Points by X) and click Next. Entry a JPQL or
23

Setting and Tuning of JPA Queries

. "objectdb.query-language" - sets the query language, as one of "JPQL" (JPA query language), "JDOQL ... of JPQL, JDOQL and ObjectDB extensions. Setting "JPQL" is useful to enforce portable JPA code by
5

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