ObjectDB Database Search
1-50 of 200 resultsJPA Criteria API Queries The JPA Criteria API provides an alternative way to define JPA queries. It is useful for building dynamic queries whose structure is known only at runtime. JPA Criteria API vs. JPQL JPQL queries ... Java objects that represent query elements. A major advantage of the Criteria API is that it enables | |
SELECT clause (JPQL / Criteria API) in criteria queries The criteria query API provides several ways to set the SELECT clause. Single ... it as the SELECT clause content, overriding any previously set SELECT content. Many valid criteria API expressions can be used as a selection because criteria API expressions are represented by Expression | |
JPA Extended API Reference Guide Jakarta Persistence API (JPA) 3.2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts ... the fundamental classes and interfaces for entity management and persistence operations. Covers the query API | |
What is the Java Persistence API (JPA)? The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases ... of the Java Persistence API (JPA). By interacting with ObjectDB using standard JPA | |
JPA Metamodel API The JPA Metamodel API enables you to examine the persistent object model and retrieve details ... API is Metamodel . You can obtain an instance from either the EntityManagerFactory 's getMetamodel ... . Type interface hierarchy In the Metamodel API , types are represented by interfaces that extend the Type | |
JPA Query API because it introduces the Country class to ObjectDB. Dynamic JPQL, Criteria API , and named queries In ... Criteria API provides an alternative way to build dynamic queries. It uses Java objects that represent | |
WHERE clause (JPQL / Criteria API) JPQL query: SELECT c FROM Country c WHERE c.population :p can be built using the criteria query API | |
Paths and Types in JPQL and Criteria API the JPA Criteria API by the Path interface and its subinterfaces, such as From , Root , and Join | |
ORDER BY clause (JPQL / Criteria API) the criteria query API as follows: CriteriaQuery q = cb. createQuery (Country.class); Root c = q | |
FROM clause (JPQL / Criteria API)Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query. | |
Logical Operators in JPQL and Criteria APIExplains how to use AND, OR and NOT in JPQL queries. | |
ObjectDB API ReferenceAll about ObjectDB API Reference in Java/JPA database - explanations, examples, references, links and related information. | |
ObjectDB APIsAll about ObjectDB APIs in Java/JPA database - explanations, examples, references, links and related information. | |
Comparison in JPQL and Criteria APIExplains how comparison operators can be used in JPQL queries, including in comparing null values. | |
JPA Metamodel and Graphs The Jakarta Persistence (JPA) Metamodel API provides a type-safe way to introspect the persistent ... the persistence unit metadata through the main entry point interface: Serves as the central ... to retrieve entity and attribute information by class or name, similar to the reflection API in Java | |
JPA Core Types your ObjectDB database. An alternative bootstrap class that offers a programmatic API for configuration ... back transactions. Utilities and Caching Access metadata , manage schema, and interact with the second-level ... attributes, and access entity content not yet fetched due to lazy loading. Provides an API for programmatic | |
[ODB1] Chapter 4 - JDO Metadata A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or more persistent classes. All the persistent classes, and only them, have to be declared in a metadata file. The metadata is used first by the JDO Enhancer, and later by the JDO | |
jakarta.persistence.PersistenceConfiguration via this API reflect the similarly-named elements of the persistence.xml file. This API may not be used ... should be considered a Java SE persistence unit, even when this API is used within the Jakarta EE environment ... SCHEMAGEN_CREATE_SOURCE The source of artifacts to be created. Standard sources are: metadata | |
Database Explorer classes and metadata field specifies a path for locating persistent classes and XML metadata . This field is optional; you can browse and edit ObjectDB database files even when class and metadata files | |
jakarta.persistence.EntityManager, that is scheduled for removal from the database upon transaction commit. The EntityManager API is used ... . Parameters: name - the name of a query defined in metadata Returns: the new query instance. Throws ... . Parameters: name - the name of a query defined in metadata resultClass - the type of the query | |
ObjectDB Object Database Features support of the JPA and JDO APIs . Fundamental features of relational databases (e.g. primary keys ... database files (the ObjectDB Doctor ). Standard Persistence APIs ObjectDB is the only Object-Oriented Database with built in support for JPA . Java Persistence API (JPA) Most features of JPA | |
ObjectDB - JPA Object Database for Java using the Java Persistence API (JPA). It is the first persistence solution that combined a powerful ... tutorial now... Protect your investment. Use a standard Java API . ObjectDB became the first Object Oriented Database with built in support for the two standard Java database APIs : Java | |
Query Parameters in JPA does not provide an API to define parameters explicitly (except when using the Criteria API ). Instead ... over ordinal parameters. Criteria Query Parameters In a JPA query built using the JPA Criteria API ... , parameters are more flexible and support elements that are unavailable as literals, such as entities. API | |
JPA Annotations Jakarta Persistence (JPA) uses annotations to define metadata that governs how the persistence engine manages objects and their database mappings. These annotations configure entity behavior ... and Spring environments. Relational and SQL mapping The following categories provide metadata | |
JPA Persistence Unit the database URL, user name, and password, as demonstrated above. XML mapping metadata ObjectDB supports XML metadata as an alternative to annotations. This manual focuses on annotations | |
Is ObjectDB better than competing object databases?: ObjectDB is unique in supporting the standard APIs . It is the only object database with built in support for the Java Persistence API (JPA). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA | |
jakarta.persistence.EntityManagerFactory 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 ... , information that can be set by means of the query APIs can be overridden. Information | |
JPA Queries Jakarta Persistence provides powerful APIs for executing database queries using JPQL strings or the programmatic Criteria API . These interfaces support both static and dynamic query construction ... instructions, refer to the JPA Query API section in the ObjectDB manual. Criteria query API | |
jakarta.persistence.StoredProcedureQuery specified in metadata Returns: the result that is passed back through the parameter. Throws ... of the parameter as registered or specified in metadata type - type of the parameter Returns: the same query ... of the specified type to allow access to a provider-specific API . If the provider implementation | |
JPA Container Injection Annotations metadata . A container annotation for declaring multiple @PersistenceUnit definitions on a single class | |
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, and relationships translate to tables, columns, and foreign keys. While ObjectDB ignores these ORM | |
JPA Query Expressions (JPQL / Criteria) Criteria API expressions. Atomic expressions The atomic query expressions are: JPQL / Criteria Variables ... with operators and functions. Operators and functions JPQL and the Criteria API support the following ... the following pages: Detailed explanations of how to build Criteria API expressions are provided | |
JPA Criteria FROM and JOIN The Jakarta Persistence Criteria API uses a specific set of interfaces to construct the FROM ... variables are represented in the Criteria API by subinterfaces of the abstract From interface: Defines ... ;with query results. The following interfaces manage fetch operations within the Criteria API | |
JPA Class Enhancer into an ANT build script, as follows: Enhancement API The ObjectDB Enhancer can also be invoked from ... ()); The enhancement API and invocation of the Enhancer from Java code is useful, for instance, 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 | |
ObjectDB Overview Features 100% pure Java Object-Oriented Database Management System (ODBMS). No proprietary API - managed only by standard Java APIs (JPA / JDO 2). Extremely fast - faster than any other JPA / JDO | |
Chapter 4 - JPA Queries (JPQL / Criteria) and the Jakarta Persistence (JPA) Criteria Query API , which provides an alternative way to build queries in JPA. The first section describes the JPA API for running dynamic and static (named) queries | |
jakarta.persistence.EntityManagerFactory.addNamedQuery(String,Query) APIs can be overridden. Information that is overridden does not affect the named query as registered ... has been previously defined, either statically via metadata or via this method, that query definition | |
Which API should I use - JPA or JDO? You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API ... the primary API , and if necessary, switch to JDO as a secondary API for special additional features that are supported only by JDO. Selecting the more popular API leads to more portable application | |
JPA Criteria Query Expressions Jakarta Persistence (JPA) Criteria API uses a hierarchy of interfaces to model query conditions and selections, enabling the construction of dynamic, type-safe queries. These interfaces represent the building blocks for defining query logic programmatically. The hierarchy of the expression | |
JPA Metamodel Attributes The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3. Base attribute definitions | |
[ODB1] Chapter 2 - A Quick Tour classes. To become persistent, a class has to: be declared in a JDO metadata file in XML format. include ... with a no-arg constructor (line 11). If it is declared as persistent in a JDO metadata file, it can easily become persistent using the JDO enhancer. JDO Metadata Every persistent class must be declared as | |
[ODB1] Chapter 9 - ObjectDB Explorer Classes" menu command (or the equivalent context menu command). Notice that JDO metadata for the class (as ... the JDO metadata ) for a persistent class that already has persistent instances in the database ... the JDO metadata ) to a class that already has persistent instances in the database. You can also start | |
[ODB1] Chapter 3 - Persistent Classes has to: be declared in a JDO metadata file in XML format. include a no-arg constructor. implement ... only have to provide the JDO metadata declaration. Chapter 4 explains how to write the JDO metadata declaration ... in the JDO metadata (useful when a field has to be transient in serialization but persistent in JDO | |
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 | |
ObjectDB 1.0 Manual class is and which types are supported by JDO. Chapter 4 - JDO Metadata Shows how to define JDO metadata for persistence capable classes. Chapter 5 - JDO Connections Shows how to use database connections | |
[ODB1] Chapter 6 - Persistent Objects are not described in the JDO metadata files, the enhancer identifies them as not persistent and does | |
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 |