ObjectDB Database Search

51-100 of 200 results

jakarta.persistence.criteria.From

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.From Type Parameters: - the source type - the target type Super Interfaces: Path , FetchParent , Expression , Selection , TupleElement Represents a bound type , usually an entity that appears in the from clause

JPA Criteria Query Date/Time Extraction

  types , represented by the following enums. Defines the component types of Date values ... , and DAY_OF_YEAR . Defines the component types of Time values (such as java.time.LocalTime , and  java.sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable

JPA Query API

result type is unknown or when a query returns polymorphic results whose lowest common denominator is Object . When a more specific result type is expected, use the TypedQuery interface. The TypedQuery interface makes it easier to run queries and process results in a type -safe manner. Building queries

Running JPA Queries

) type , while the TypedQuery version returns a list of a parameterized (generic) type : Query query = em ... the results object to a parameterized type , such as List , causes a compilation warning. To avoid this warning ... of a parameterized type by using an enhanced for loop: for (Country c : results) { System.out.println(c.getName

jakarta.persistence.criteria.Root

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Root Type Parameters: - the entity type referenced by the root Super Interfaces: From , Path , FetchParent , Expression , Selection , TupleElement A root type in the from clause. Query roots always reference entities. Since: Jakarta

jakarta.persistence.criteria.CriteriaQuery

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaQuery Type Parameters: - the type of the defined result Super Interfaces: AbstractQuery , CriteriaSelect ... must be retained. This method only overrides the return type of the corresponding AbstractQuery method. Overrides

FROM clause (JPQL / Criteria API)

(you can use type expression to exclude descendant classes from iteration). For example, in ... variables represent iteration over all the database objects of a specified entity type . JPQL provides an additional type of identification variable, a join variable, which represents a more limited

Index Definition

of one of the following persistable types : Primitive types : boolean , byte , short , char , int ... .util.Date , java.sql.Date , java.sql.Time , java.sql.Timestamp Any enum type A reference to an entity Arrays and collections that contain values of the above types , including null You can define

Privacy Policy

, as applicable. Collecting and Using Your Personal Data Types of Data Collected Personal Data ... device identifiers, browser type , browser version, the time and date of Your visit, the pages ... automatically, including, but not limited to, the type of mobile device You use, Your mobile device unique ID

JPA Criteria Queries

The Jakarta Persistence (JPA) Criteria API provides a type -safe, programmatic alternative ... of CriteriaBuilder  as mutable empty objects, and then defined using setter methods. All query types (SELECT ... for restricting query scope using parameters and subqueries across all query types . SELECT Queries

JPA Metamodel and Graphs

The Jakarta Persistence (JPA) Metamodel API provides a type -safe way to introspect the persistent ... repository for all managed types within a persistence unit (or an ObjectDB database). It provides methods ... . The metamodel represents the domain model through a hierarchy of types and attributes

jakarta.persistence.TypedQuery

Jakarta Persistence (JPA) Interface jakarta.persistence.TypedQuery Type Parameters: - query result type Super Interfaces: Query Interface used to control the execution of typed queries ... Parameter getParameter ( String name , Class type ) Get the parameter object corresponding to the declared

jakarta.persistence.criteria.CriteriaBuilder

. Parameters: targetEntity - target type for delete operation Returns: the query object. Since: Jakarta ... query object to perform a bulk update operation. Parameters: targetEntity - target type for update ... result type . Parameters: resultClass - type of the query result Returns: criteria query object

jakarta.persistence.StoredProcedureQuery

, Class type ) Get the parameter object corresponding to the declared parameter of the given name and type ... : name - parameter name type - type Returns: parameter object. Throws: IllegalStateException ... or is not assignable to the type . Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( int

jakarta.persistence.criteria.Subquery

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Subquery Type Parameters: - the type of the selection item. Super Interfaces: AbstractQuery , Expression , CommonAbstractCriteria ... as ( Class type ) Perform a typecast upon the expression, returning a new expression object. Unlike

jakarta.persistence.Query

. Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( String name , Class type ) Get the parameter object corresponding to the declared parameter of the given name and type . This method is required to be supported for criteria queries only. Parameters: name - parameter name type - type

Storing JPA Entities

of other persistable types can be stored in the database only as embedded objects in containing ... is thrown if the database already contains another entity of the same type with the same primary key ... of persistable types other than entity classes are automatically stored as embedded objects in

JPA Extended API Reference Guide

with practical notes. It groups the API types into logical sections to help you locate core concepts ... . The JPA types are organized in this reference into the following sections : Defines ... dynamically, build type -safe queries, and optimize database fetching. Lists additional dynamic

JPA Queries

with full type safety. General query objects Execute SELECT, UPDATE and DELETE queries in JPA using ... TypedQuery in modern applications to ensure compile-time type safety. A sub-interface of Query used for queries where the result type is known. It is preferred over the legacy Query interface

Entity Management Settings

the Enhancer Agent to enhance persistable types on the fly, even if you do not specify it explicitly ... for the two entity cache mechanisms: The ref attribute specifies the reference type for holding non ... method for instances of serializable types that are otherwise non-persistable (for example, a user

JPA Components Annotations

You can use Jakarta Persistence (JPA) annotations to mark classes as persistent and to configure their behavior. Persistent type definitions Use these annotations to assign a role to a persistent ... ). Use these annotations to configure the access type : Sets the access type (FIELD or PROPERTY

JPA Criteria API Queries

); List results = query. getResultList (); Because both types of queries are ultimately represented by ... , and types ( get , type ) Arithmetic expressions ( sum , diff , prod , quot , mod , abs , neg , sqrt

jakarta.persistence.metamodel.MapAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.MapAttribute Type Parameters: - The type the represented Map belongs to - The type of the value of the represented Map - The type ... of the type MapAttribute represent persistent Map -valued attributes. Since: Jakarta Persistence (JPA

jakarta.persistence.metamodel.PluralAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.PluralAttribute Type Parameters: - The type the represented collection belongs to - The element type of the represented collection - The type of the represented collection Super Interfaces: Attribute , Bindable Instances of the type

jakarta.persistence.metamodel.ListAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.ListAttribute Type Parameters: - The type the represented List belongs to - The element type of the represented List Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type ListAttribute represent persistent

jakarta.persistence.metamodel.CollectionAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.CollectionAttribute Type Parameters: - The type the represented Collection belongs to - The element type of the represented Collection Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type

jakarta.persistence.metamodel.SetAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.SetAttribute Type Parameters: - The type the represented Set belongs to - The element type of the represented Set Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type SetAttribute represent persistent Set

jakarta.persistence.criteria.Path

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Path Type Parameters: - the type ... or compound attribute path from a bound type or collection, and is a "primitive" expression. Since: Jakarta Persistence (JPA) 2.0 The Paths and Types in JPQL and Criteria API article explains

jakarta.persistence.metamodel.SingularAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.SingularAttribute Type Parameters: - The type containing the represented attribute - The type of the represented attribute Super Interfaces: Attribute , Bindable Instances of the type SingularAttribute represents persistent single

JPA Lifecycle Events

. The argument's type can be Object or a more specific entity type . The listener class must be stateless

JPA Named Queries Annotations

instances of the following interface: Represents a named query, including its name, result type , and hints. Retrieve it by result type from EntityManagerFactory.getNamedQueries , and use it to get a TypedQuery instance via EntityManager.createQuery .

JPA Query Expressions (JPQL / Criteria)

, and types ( get , type ) Arithmetic expressions ( sum , diff , prod , quot , mod , abs , neg , sqrt

JPA Class Enhancer

lists the classes that have been enhanced: [ObjectDB 2.9.4] 3 persistable types have been enhanced: test.MyEntity1 test.MyEntity2 test.MyEmbeddable 2 NON persistable types have been enhanced: Main test

JPA Criteria Query Selection and Results

The JPA Criteria API provides type -safe interfaces for defining query result expressions and ordering, mirroring the SELECT and ORDER BY clauses in JPQL or SQL. These interfaces allow you to specify ... composed of multiple items, commonly used for projections. It supports three types : arrays

JPA Annotations

Use class-level annotations to define persistent types and configure class-level behavior: Define ... fields to persistent state, including primary keys, enumerated types , and temporal data. Define

GROUP BY and HAVING clauses

methods for building aggregate expressions: count , countDistinct : Return a long- typed expression ... that represents the sum of values. avg : Return a double- typed expression that represents the average of numeric

jakarta.persistence.criteria.ParameterExpression

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.ParameterExpression Type Parameters: - the type of the parameter expression Super Interfaces: Parameter , Expression , Selection , TupleElement Type of criteria query parameter expressions. Since: Jakarta Persistence (JPA) 2.0 Public

jakarta.persistence.EntityManagerFactory

the application, and which must be colocated in their mapping to a single database. If two entity types ... via the PersistenceConfiguration API. Every persistence unit has a transaction type , either JTA , or RESOURCE_LOCAL . Resource ... other useful APIs: an instance of Metamodel exposing a model of the managed types associated

jakarta.persistence.metamodel.Metamodel

Public Instance Methods EmbeddableType embeddable ( Class cls ) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented embeddable class Returns: the metamodel embeddable type . Throws: IllegalArgumentException - if not an embeddable class

jakarta.persistence.criteria.Expression

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Expression Type Parameters: - the type of the expression Super Interfaces: Selection , TupleElement Type for query expressions ... Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new

jakarta.persistence.Convert

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Convert Implemented Interfaces: Annotation Target: Method, Field, Type Specifies how the values of a field or property are converted to a basic type , enabling a converter defined autoApply=false , overriding the use of a converter

jakarta.persistence.criteria.Predicate

: Expression , Selection , TupleElement The type of a simple or compound predicate: a conjunction or ... Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new expression object. Unlike Expression.cast , this method does not cause type conversion

jakarta.persistence.AttributeConverter

Jakarta Persistence (JPA) Interface jakarta.persistence.AttributeConverter Type Parameters: - a basic type representing the type of the database column - the target type , that is, the type ... whose methods convert between: the target type of the converter, an arbitrary Java type which may be used

jakarta.persistence.criteria.CriteriaBuilder.Case

: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast ... cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression Returns: new expression

jakarta.persistence.criteria.CriteriaBuilder.In

type ) Perform a typecast upon the expression, returning a new expression object. Unlike Expression.cast , this method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast ... cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression Returns: new expression

jakarta.persistence.criteria.AbstractQuery

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.AbstractQuery Type Parameters: - the type of the result Super Interfaces: CommonAbstractCriteria The AbstractQuery interface defines ... the entity of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform ... not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression Returns: new

jakarta.persistence.Enumerated

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Enumerated Implemented Interfaces ... an enumerated type . This annotation is optional if the type of a persistent field or property is a Java enum type . The Enumerated annotation may be used in conjunction with the Basic annotation, or

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging a  Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [Select Chart Type ] tab select Tube as the chart type and click Next . In the [Select Data