ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.criteria.Join

Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Join Type Parameters ... Persistence ( JPA ) 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression

jakarta.persistence.criteria.Root

Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Root Type Parameters ... Persistence ( JPA ) 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Root ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0

jakarta.persistence.criteria.From

Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.From Type Parameters ... to the type. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods Selection alias ( String name ... . Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform a typecast

jakarta.persistence.criteria.Subquery

Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Subquery Type Parameters ... . A subquery has an expression as its selection item. Since: Jakarta Persistence ( JPA ) 2.0 Public ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression

jakarta.persistence.StoredProcedureQuery

Jakarta Persistence ( JPA ) Interface jakarta.persistence.StoredProcedureQuery Super Interfaces ... Since: Jakarta Persistence ( JPA ) 2.1 Public Instance Methods boolean execute () Return true if the first ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence ( JPA ) 1.0 int

jakarta.persistence.metamodel.EntityType

Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.EntityType Type Parameters ... An instance of EntityType represents an entity type. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance ... of the given name is not present in the managed type. Since: Jakarta Persistence ( JPA ) 1.0 Set

jakarta.persistence.TypedQuery

Jakarta Persistence ( JPA ) Interface jakarta.persistence.TypedQuery Type Parameters: - query result ... . See Also: Query Parameter Since: Jakarta Persistence ( JPA ) 2.0 Chapter 4 - JPA Queries (JPQL / Criteria ... Persistence ( JPA ) 1.0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in

jakarta.persistence.Query

Jakarta Persistence ( JPA ) Interface jakarta.persistence.Query Interface used to control query execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence ( JPA ) 1.0 Chapter 4 - JPA Queries (JPQL / Criteria) explains how to use Query . Public Instance Methods int

jakarta.persistence.PersistenceConfiguration

Jakarta Persistence ( JPA ) Class jakarta.persistence.PersistenceConfiguration java.lang.Object ... ) Since: Jakarta Persistence ( JPA ) 3.2 Public Static Fields CACHE_MODE String specifying ... of this PersistenceConfiguration class should use sharedCacheMode . Since: Jakarta Persistence ( JPA ) 1.0 JDBC_DATASOURCE

jakarta.persistence.metamodel.IdentifiableType

Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.IdentifiableType Type Parameters ... Persistence ( JPA ) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute ... Persistence ( JPA ) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from

jakarta.persistence.metamodel.MappedSuperclassType

Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.MappedSuperclassType Type ... Persistence ( JPA ) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return ... . Since: Jakarta Persistence ( JPA ) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited

Date and Time in JPQL and Criteria Queries

JPQL current date and time functions. Current Date and Time JPA defines special JPQL expressions ... . date and time (a j ava.sql.Timestamp instance). Extracting Date Parts JPA doesn't define standard methods for extracting date and time parts but some JPA implementations, as well as ObjectDB, support

Numbers in JPQL and Criteria Queries

The following arithmetic operators are supported by JPA : 2 unary operators:   + (plus) and - (minus). 4 ... and JDO.  JPA follows Java numeric promotion principles. For example, the resulting type ... above) are available also as JPA criteria query expressions. The CriteriaBuilder interface provides

What's next?

This chapter introduced the basic principles of JPA using ObjectDB. You can go into details by ... your own ObjectDB/ JPA projects simply by modifying this sample program. Reading the Next Chapters The next three chapters provide more details on using JPA with ObjectDB: The last two chapters complete

Criteria Query Selection and Results

The JPA Criteria API interfaces in this group are used for setting the SELECT and ORDER BY clauses ... ;for more details and examples. Query Results as Tuples JPA 2 introduces a new way to represent ... with non criteria queries is supported by ObjectDB and it may be supported in the future by all the JPA providers.

BIRT/ODA ObjectDB Driver

with BIRT and JPA tutorial. Driver Installation The driver is available as an Eclipse for Java EE ... version when using client-server mode. ObjectDB/ JPA Data Source To create an ObjectDB data source: Open ... with BIRT and JPA tutorial for more detailed instructions.

GROUP BY and HAVING clauses

the query. Note that the query above might not be supported by some JPA implementations. Only identification variables and path expressions are currently supported in the GROUP BY clause by all the JPA ... is standard and it is expected to be supported by all JPA implementations. GROUP BY with HAVING Groups

About Us

persistence solution for Java, based on the Java Persistence API ( JPA ) and the Java Data Objects (JDO) standards, since ObjectDB is the first object oriented database with built in support of JPA and JDO and is much faster  than any ORM-based JPA implementation. ObjectDB Software's customers include

jakarta.persistence.EntityGraph

Jakarta Persistence ( JPA ) Interface jakarta.persistence.EntityGraph Type Parameters: - The type ... Persistence ( JPA ) 2.1 Public Instance Methods AttributeNode addAttributeNode ( String attributeName ... .. Since: Jakarta Persistence ( JPA ) 3.2 AttributeNode addAttributeNode ( Attribute attribute ) Get an existing

jakarta.persistence.metamodel.ManagedType

Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.ManagedType Type Parameters ... , mapped superclass, and embeddable types. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods ... the managed type. Since: Jakarta Persistence ( JPA ) 1.0 Set getAttributes () Return the attributes

jakarta.persistence.metamodel.EmbeddableType

Jakarta Persistence ( JPA ) Interface jakarta.persistence.metamodel.EmbeddableType Type Parameters ... of EmbeddableType represents an embeddable type. Since: Jakarta Persistence ( JPA ) 2.0 Public Instance Methods ... is not present in the managed type. Since: Jakarta Persistence ( JPA ) 1.0 Set getAttributes () Return

jakarta.persistence.criteria.CriteriaQuery

Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.CriteriaQuery Type Parameters ... . Since: Jakarta Persistence ( JPA ) 2.0 The JPA Criteria API Queries article explains how to use ... .. Since: Jakarta Persistence ( JPA ) 1.0 Root from ( Class entityClass ) Create and add a query root

jakarta.persistence.Subgraph

Jakarta Persistence ( JPA ) Interface jakarta.persistence.Subgraph Type Parameters: - The type ... within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence ( JPA ) 2.1 Public ... . IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence ( JPA ) 3.2

jakarta.persistence.Graph

Jakarta Persistence ( JPA ) Interface jakarta.persistence.Graph Declares operations common to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence ( JPA ) 3.2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence ( JPA ) 3.2 AttributeNode

jakarta.persistence.criteria.Path

Jakarta Persistence ( JPA ) Interface jakarta.persistence.criteria.Path Type Parameters: - the type ... . Since: Jakarta Persistence ( JPA ) 2.0 The Paths and Types in JPQL and Criteria API article explains ... ( JPA ) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new

jakarta.persistence.criteria.CriteriaBuilder.In

Jakarta Persistence ( JPA ) Interface in jakarta.persistence.criteria.CriteriaBuilder jakarta ... , TupleElement Interface used to build in predicates. Since: Jakarta Persistence ( JPA ) 1.0 Public Instance ... : name - alias Returns: selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

Jakarta Persistence ( JPA ) Interface in jakarta.persistence.criteria.CriteriaBuilder jakarta ... which they are specified. Since: Jakarta Persistence ( JPA ) 1.0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence ( JPA ) 1.0 Expression as ( Class type ) Perform

jakarta.persistence.EntityManagerFactory

Jakarta Persistence ( JPA ) Interface jakarta.persistence.EntityManagerFactory Super Interfaces ... Persistence ( JPA ) 1.0 The Database Connection using JPA article explains how to use EntityManagerFactory ... entityGraph - entity graph Since: Jakarta Persistence ( JPA ) 2.1 void addNamedQuery ( String name , Query query

Detached Entity Objects

objects are limited in functionality: Many JPA methods do not accept detached objects (e.g. lock ... EntityManager . In addition, in JPA 2 we can detach an entity object by using the detach method: em. detach

FROM clause (JPQL / Criteria API)

at the FROM clause level. JPA 2, however, adds support for filtering instances of specific types ... variant returns Nauru with a NULL value as its capital. [LEFT [OUTER] | INNER] JOIN FETCH JPA support

Collections in JPQL and Criteria Queries

an additional method for checking if a specified element is contained in a collection. JPA ... (which are described above) are available also as JPA criteria query expressions

Control and Setting

This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations:

Is ObjectDB better than Object Relational Mapping (ORM)?

is developed for an existing old relational database). By using the Java Persistence API ( JPA ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational

SpringBoot-Point

The SprintBoot-Point   example demonstrates a simple Spring Boot RESTful API web application that manage a collection of geometric points using Spring Boot and Jakarta Persistence ( JPA ) .  ... . the points that the user draws on the canvas, are stored using Jakarta Persistence ( JPA ) in

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

Shared (L2) Entity Cache

. UNSPECIFIED - handled differently by different JPA providers. In ObjectDB the UNSPECIFIED value ... to the shared cache. On commit - new and modified entity objects are added to the shared cache. JPA

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting ... to the persistence.xml file: com.objectdb. jpa .Provider Now ObjectDB should be used as a JPA provider

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added ... with the following new content: com.objectdb. jpa .Provider Now ObjectDB should be used as a JPA provider

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click ... + ")"; } } The  Guest entity class will represents guests in the database. We also need to configure JPA ... and paste to copy the following content to the  persistence.xml file: com.objectdb. jpa .Provider

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added ... file with the following new content: com.objectdb. jpa .Provider guest.Guest Now ObjectDB should be used

Step 1: Create a Java Project

for Java EE Developers, you can see in the [New] menu a command for creating a [ JPA Project ... with ObjectDB/ JPA support. ObjectDB/ JPA can also be added to existing projects, by adding ... JARs... The next step is creating a JPA Entity class .

Step 1: Create a Java Project

the project. To add ObjectDB/ JPA support for the project: Right click the Libraries folder in the [Projects ... with ObjectDB/ JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Java EE 6 Web Project

dynamic web project. To add ObjectDB/ JPA support to the project, drag the objectdb.jar file from ... : You should now have an Eclipse Java EE 6 project with ObjectDB/ JPA support. The next step is creating a JPA Entity class .

Java EE Web Tutorial

application using GlassFish, ObjectDB and JPA . Since this web application uses Java EE 6 EJB ... ) see the JPA Web App Tutorial . The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA . Every visitor that has signed the guestbook

Step 1: Create a Java EE Web Project

required). To add ObjectDB/ JPA support for the project: Right click the Libraries folder in the [Projects ... Application project with ObjectDB/ JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Web Project

ObjectDB/ JPA support for the project: Right click the Libraries folder in the [Projects] window ... with ObjectDB/ JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Maven Web Project

Framework and ObjectDB/ JPA support. The next step is  creating a JPA Entity class .

Step 1: Create a Maven Web Project

MVC Framework and ObjectDB/ JPA support. The next step is creating a JPA Entity class .

Step 4: Run the Application

by opening it in the ObjectDB Explorer : This is the end of the Eclipse JPA  tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 1: Create a Web Project

: Now you should have an Eclipse Dynamic Web project with ObjectDB/ JPA support. The next step is creating a JPA Entity class .