Internal Website Search

51-100 of 200 results

Criteria Query results in a NoResultException instead of returning object

.getCriteriaBuilder(); CriteriaQuery criteria = builder.createQuery(identityClass); Root root = criteria .from(identityClass); criteria .select(root); List predicates = new ArrayList (); predicates.add(builder ... .getName()));      criteria .where(predicates.toArray(new Predicate[predicates.size

Threading Problem (maybe with Criteria)

,p.m_udb) FROM PersonTest p WHERE m_age=50", AdvoluxUID.class); instead of Criteria API ... . 100000) the test opens the Database, start some queries with criteria in several threads (maybe 10 ... (ManagedTypeImpl.java:199) at com.objectdb.jpa. criteria .PathImpl.get(PathImpl.java:114) at com

javax.persistence.criteria.Predicate$BooleanOperator

JPA Enum BooleanOperator java.lang.Object ∟  java.lang.Enum ∟  javax.persistence. criteria .Predicate$BooleanOperator Since: JPA 2.0 Enum Constants AND Since: JPA 2.0 OR Since: JPA 2.0 Public Static Enum Methods: Predicate$BooleanOperator[] values () Returns an array containing

javax.persistence.criteria.CriteriaBuilder$Trimspec.TRAILING

JPA Enum Constant in javax.persistence. criteria .CriteriaBuilder$Trimspec TRAILING Trim from trailing end. Since: JPA 2.0

javax.persistence.criteria.CriteriaBuilder$Trimspec.BOTH

JPA Enum Constant in javax.persistence. criteria .CriteriaBuilder$Trimspec BOTH Trim from both ends. Since: JPA 2.0

javax.persistence.criteria.CriteriaBuilder$Trimspec.LEADING

JPA Enum Constant in javax.persistence. criteria .CriteriaBuilder$Trimspec LEADING Trim from leading end. Since: JPA 2.0

javax.persistence.criteria.CriteriaBuilder$Trimspec

JPA Enum Trimspec java.lang.Object ∟  java.lang.Enum ∟  javax.persistence. criteria .CriteriaBuilder$Trimspec Used to specify how strings are trimmed. Since: JPA 2.0 Enum Constants BOTH Trim from both ends. Since: JPA 2.0 LEADING Trim from leading end. Since: JPA 2.0 TRAILING Trim from

javax.persistence.criteria.Predicate$BooleanOperator.OR

JPA Enum Constant in javax.persistence. criteria .Predicate$BooleanOperator OR Since: JPA 2.0

javax.persistence.criteria.Expression

JPA Interface Expression Type Parameters: - the type of the expression Super Interfaces: Selection , TupleElement Type for query expressions. Since: JPA 2.0 The JPA Query Expressions (JPQL / Criteria ) article explains how to use Expression . Public Methods Expression as (Class  type) Perform

javax.persistence.criteria.JoinType.RIGHT

JPA Enum Constant in javax.persistence. criteria .JoinType RIGHT Right outer join. Since: JPA 2.0

javax.persistence.criteria.JoinType.LEFT

JPA Enum Constant in javax.persistence. criteria .JoinType LEFT Left outer join. Since: JPA 2.0

javax.persistence.criteria.JoinType.INNER

JPA Enum Constant in javax.persistence. criteria .JoinType INNER Inner join. Since: JPA 2.0

javax.persistence.criteria.JoinType

JPA Enum JoinType java.lang.Object ∟  java.lang.Enum ∟  javax.persistence. criteria .JoinType Defines the three types of joins. Right outer joins and right outer fetch joins are not required to be supported. Applications that use RIGHT join types will not be portable. Since: JPA 2.0 Enum

Strange Error with Criteria API and Sorting

the sorted results. However, running this with the criteria API produces this error: Caused by: com ... criteria in debugger we get the correct expression: SELECT DISTINCT $1 FROM MyEntity $1 WHERE ((TYPE ... .persistence.Persistence; import javax.persistence. criteria .CriteriaBuilder; import javax.persistence

JPA Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The JPA types are organized into the following sections: The purpose

JPA Class Enhancer

Similarly, enhancement can be also be integrated into an ANT build script, as so: Enhancement API ... .*,test.X", text.X.class.getClassLoader()); The enhancement API and invocation of the Enhancer from

Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data Objects (JDO) API . ObjectDB is a full featured

ObjectDB Overview

API - managed only by standard Java APIs (JPA 2 / JDO 2). Extremely fast - faster than any other JPA

javax.persistence.criteria.SetJoin

javax.persistence.criteria.SetJoin

javax.persistence.criteria.CriteriaBuilder$In

javax.persistence.criteria.CriteriaBuilder$In

javax.persistence.criteria.PluralJoin

javax.persistence.criteria.PluralJoin

javax.persistence.criteria.CriteriaBuilder$SimpleCase

javax.persistence.criteria.CriteriaBuilder$SimpleCase

javax.persistence.criteria.CollectionJoin

javax.persistence.criteria.CollectionJoin

javax.persistence.criteria.FetchParent

javax.persistence.criteria.FetchParent

javax.persistence.criteria.CompoundSelection

javax.persistence.criteria.CompoundSelection

javax.persistence.criteria.Fetch

javax.persistence.criteria.Fetch

javax.persistence.criteria.AbstractQuery

javax.persistence.criteria.AbstractQuery

javax.persistence.criteria.CriteriaBuilder$Case

javax.persistence.criteria.CriteriaBuilder$Case

javax.persistence.criteria.CriteriaBuilder$Coalesce

javax.persistence.criteria.CriteriaBuilder$Coalesce

javax.persistence.criteria.ListJoin

javax.persistence.criteria.ListJoin

javax.persistence.criteria.MapJoin

javax.persistence.criteria.MapJoin

javax.persistence.criteria.Subquery

javax.persistence.criteria.Subquery

Issue with TYPE expression in Criteria API

.persistence. criteria .CriteriaBuilder; import javax.persistence. criteria .CriteriaQuery; import javax.persistence. criteria .Root; public class T605 {     public static void main(String[] args

criteria api / embedded objects / where order

criteria api / embedded objects / where order

Retrieving JPA Entity Objects

The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context serves as a cache of retrieved entity objects. If a requested

Is ObjectDB better than Object Relational Mapping (ORM)?

is developed for an existing old relational database). By using the Java Persistence API (JPA

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section:

ObjectDB 2.9 Developer's Guide

Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API ). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure This manual is divided into

Database Connection using JPA

Working with the Java Persistence API (JPA) consists of using the following interfaces: Overview A connection to a database is represented by an EntityManager instance, which also provides functionality for performing operations on a database. Many applications require multiple database

Company

ObjectDB Software develops, markets and supports the ObjectDB Object-Oriented Database Management System (ODBMS). ObjectDB Software is the market leader in providing a very high performance persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects (JDO

ArrayIndexOutOfBounds with Critera API and function call

to our customer and went against a show-stopper again. We're building a simple query with the criteria api ... ; } }; Create Selection Query (Critera- API ) from * TestEntity and add WHERE class ... : Doing "$1.getAge()" does produce the same error When trying to create a query from the criteria

javax.persistence.EntityManager

. Within the persistence context, the entity instances and their lifecycle are managed. The EntityManager API is used ... ;deleteQuery) Create an instance of Query for executing a criteria delete query. Parameters: deleteQuery - a criteria delete query object Return: the new query instance Throws: IllegalArgumentException

Step 1: Create a Maven Web Project

.transaction jta 1.1 javax.servlet servlet- api 2.5 provided javax.servlet.jsp jsp- api 2.1 provided org

Step 1: Create a Maven Web Project

;      javax.servlet    servlet- api    2.5    provided        javax.servlet.jsp    jsp- api    2.1    provided

What is the Java Data Objects (JDO)?

The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using plain old Java objects (POJO) to represent the object model. Unlike Java Persistence API (JPA ... , and it is probably the most popular Java API for object databases today.

[ODB1] Chapter 1 - About ObjectDB

code. The JDO API is available today for most relational database systems (RDBMS), e.g. Oracle, IBM ... URL), because the JDO API is the same for both modes. 1.3  ObjectDB Editions ObjectDB

[ODB1] Chapter 8 - ObjectDB Server

mode are discussed in Section 1.2 . Because the JDO API and the format of the database file

JDO Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of JDO 2.2. The content is derived from the original JDO documentation with some additions and notes. The most basic JDO types are: All the other JDO types are organized into the following sections:

[ODB1] Chapter 6 - Persistent Objects

that satisfy some well defined criteria . In addition, after an object is retrieved, all the objects

[ODB1] Chapter 7 - JDOQL Queries

to boost recycling rates in Manchester approved n criteria , and iteration over the results in