ObjectDB Database Search

51-100 of 200 results

jakarta.persistence.Query

value set and the transaction is rolled back. TransactionRequiredException ... - if the statement execution exceeds the query timeout value set and only the statement is rolled ... was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns

JPA Metamodel Attributes

: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection . Represents an attribute typed as a java.util. Set , implying unique elements without a specific order

JPA Core Types

these enums: Specifies whether the application uses JTA or resource-local transactions. This setting ... utilizes Jakarta Validation. Use this to explicitly enable, disable, or set validation to auto

JPA Criteria Query Selection and Results

exactly what data is returned and how it is sorted within the result set . SELECT clause elements ... a single query result (result set row) and provides methods for obtaining the elements of 

JPA ORM Mapping Annotations

Jakarta Persistence (JPA) provides a comprehensive set of annotations and enums for mapping object models to relational database schemas. These metadata elements define how entities, attributes ... -specific settings , they remain essential for maintaining compatibility with relational providers. Table

ORDER BY clause (JPQL / Criteria API)

queries The CriteriaQuery interface provides methods for setting the ORDER BY clause. For example ... . get ("population"))); Unlike other methods for setting criteria query clauses, the orderBy method accepts

JPA Criteria FROM and JOIN

The Jakarta Persistence Criteria API uses a specific set of interfaces to construct the FROM clause of a query. These interfaces define query variables, including entity roots and various join types ... .util. Set . Represents a join to an association typed as a java.util.List . It provides support

jakarta.persistence.metamodel.IdentifiableType

Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from ... the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes

jakarta.persistence.metamodel.EntityType

of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set ... declared in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared

jakarta.persistence.metamodel.MappedSuperclassType

. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited ... in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared

jakarta.persistence.metamodel.ManagedType

the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes ... name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type

jakarta.persistence.metamodel.EmbeddableType

is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return ... (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Inherited from ManagedType Returns: declared

jakarta.persistence.EntityManager

. A persistence context is a set of entity instances in which for any given persistent entity identity ... flush . The timing of the flush process depends on the flush mode , which may be set explicitly by ... must also be flushed before execution of any query whose result set would be affected by unflushed modifications

jakarta.persistence.criteria.SetJoin

: - the source type of the join - the element type of the target Set Super Interfaces: PluralJoin , Join ... that has been specified as a Set . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection alias ( String ... (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty

jakarta.persistence.criteria.PluralJoin

Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... Persistence (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty

jakarta.persistence.criteria.MapJoin

) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query ... .0 Set getJoins () Return the joins that have been made from this bound type. Returns empty set

jakarta.persistence.criteria.Root

(JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 Set getJoins

jakarta.persistence.criteria.CollectionJoin

. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Inherited from FetchParent Returns: fetch joins made from this type

jakarta.persistence.criteria.ListJoin

Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect ... (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty

jakarta.persistence.criteria.From

. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Inherited from FetchParent Returns: fetch joins made from this type

jakarta.persistence.criteria.Join

. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set ... ) 1.0 Set getJoins () Return the joins that have been made from this bound type. Returns empty set

jakarta.persistence.criteria.Subquery

) 1.0 SetJoin correlate ( SetJoin parentSet ) Create a subquery set join object correlated to a set ... (JPA) 2.1 Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins. Modifications to the set do not affect the query. Returns

JPA Criteria Query Expressions

expression handling by using a minimal set of reusable interfaces, so many different types of expressions

Database Transaction Replayer

by setting the path attribute in the configuration . The recording directory contains two types

Server Configuration

The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default configuration file contains the following element: The element The element specifies how clients can connect

FROM clause (JPQL / Criteria API)

, SET , SIZE, SOME, SQRT, SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE, TYPE, UNKNOWN, UPDATE, UPPER, VALUE

JPA Attributes Annotations

using the following annotations: Sets a field or property of a basic attribute (e.g., primitives

JPA Query Structure (JPQL / Criteria)

FROM ... [WHERE ...] UPDATE ... SET ... [WHERE ...] With a few exceptions, JPQL is case-insensitive

JPA Criteria Queries

, set new attribute values, and restrict the scope with a WHERE clause. Use this interface to define

What's next?

two chapters cover tools and settings that are specific to ObjectDB:

Running JPA Queries

: int count = em. createQuery ("UPDATE Country SET area = 0"). executeUpdate

JPA Annotations

. Annotations for defining Native SQL queries and result set mappings.

Online Backup

a custom backup root directory by setting the target parameter before you execute the backup query

jakarta.persistence.NamedNativeQuery

how the native SQL query result set should be interpreted, for example: @NamedNativeQuery( name ... set mapping is needed, which may be specified using either a separate annotation: @NamedNativeQuery ... query result. If a result set mapping is specified, the specified result class must agree

jakarta.persistence.NamedStoredProcedureQuery

. The resultSetMappings element names one or more result set mappings, as defined by the SqlResultSetMapping annotation. If there are multiple result sets , it is assumed that they are mapped using the same mechanism — e.g., either all via a set of result class mappings or all via a set of result set mappings

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's guestDao attribute that is set by the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration .

Step 5: Add a JSP Page

the request's  guestDao attribute that is set by the controller in the previous step). The next step (and the last in this tutorial) is setting the  Spring XML configuration .

Step 2: Entity Class and Persistence Unit

+ ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting

Step 1: Create a Maven Web Project

; copy and paste to replace its content with the following settings : 4.0.0 com.objectdb.tutorial

Step 1: Create a Java Project

qualified class name is set (you may use copy & paste). Click the Finish button to create

Step 1: Create a Maven Web Project

file and use copy and paste to replace its content with the following settings : 4.0.0 com.objectdb

Step 2: Entity Class and Persistence Unit

JPA persistence unit (with default settings ) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 3: Create an ObjectDB Data Source

of the ObjectDB data source. The next step is using this data source to create a data set for the BIRT report.

Step 2: Entity Class and Persistence Unit

by setting a  META-INF/persistence.xml file: Right click the src/main/resources node (in

Step 5: Design a BIRT Report Chart

these fields for content assistant) and click Next . In the [Format Chart] tab you can set the chart title

Step 2: Entity Class and Persistence Unit

JPA persistence unit (with default settings ) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 5: Add a JSP Page

from the request's "guests" attribute that is set by the servlet in the previous step). The next step

Step 5: Add a JSP Page

" attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application .