ObjectDB Database Search

51-100 of 200 results

JPA Components Annotations

the class as a mapped superclass. Its persistent attributes (fields and properties) and their settings ... ). Use these annotations to configure the access type: Sets the access type (FIELD or PROPERTY ... caching: Specifies whether the entity is eligible for the second-level cache. Set to true or false

JPA Persistence Unit

, embeddable classes, and mapped superclasses) and their related settings . Defining a persistence unit ... classes using .managedClass(). Set Properties:  Pass database credentials and provider-specific settings . Avoid XML:  Completely bypass the need for a META-INF/persistence.xml 

Server User List

and specifies their settings (username, password, permissions, and quota). The default configuration file ... whether the user is a superuser. A superuser can manage server settings using the ObjectDB Explorer ... inherit the settings from this master definition. However, the master user itself cannot be used

jakarta.persistence.TypedQuery

query. PersistenceException - if the query execution exceeds the query timeout value set ... execution exceeds the query timeout value set and only the statement is rolled back. Since: Jakarta ... result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query

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 java.util. Set . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection ... Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type

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

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

through correlation. 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

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 ... Persistence (JPA) 1.0 Set getJoins () Return the joins that have been made from this bound type

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

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

[ODB1] Chapter 7 - JDOQL Queries

cls, String filter) In the first form, the candidate class is automatically set to the class of the specified candidate Extent , and in the second form, the candidate collection is automatically set ... : Calendar calendar = Calendar.getInstance(); calendar.clear(); calendar. set (2000, 0, 1); Date date