ObjectDB Database Search
1-50 of 200 resultsObjectDB - JPA Object Database for Java it is the bottleneck in most applications. ObjectDB is extremely fast and much faster than any other JPA ... when the object data model is complex. See JPA benchmark results... Reduce development time. Improve ... using the Java Persistence API ( JPA ). It is the first persistence solution that combined a powerful | |
JPA Query API Jakarta Persistence ( JPA ) represents queries with two interfaces: the Query interface, which was the only query interface in JPA 1, and the TypedQuery interface, which was introduced in JPA 2 ... with createQuery As with most JPA operations, queries start with an EntityManager (represented as | |
JPA Entity Fields either the Java transient modifier (which also affects serialization) or the JPA @Transient ... of entity types. @Basic : For any other persistable type. In JPA , only @Basic is optional ... of these annotations. They are useful only for classes that are also used with an ORM JPA provider | |
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) is that in JPA data is represented by classes and objects rather than by tables and records as in | |
JPA Persistable Types supports all JPA persistable types, which include: User-defined classes: Entity classes, mapped ... .Entity; @Entity public class MyEntity { } Entity class requirements A portable JPA entity class ... . Mapped superclasses In JPA , classes that are declared as mapped superclasses have some of the features | |
Retrieving JPA Entities Jakarta Persistence ( JPA ) provides various ways to retrieve objects from the database. Retrieving ... the persistence context, JPA constructs a new object and populates it with data from the database or the Level 2 (L2) cache, if enabled. JPA then adds the new entity to the persistence context as a managed | |
Defining a JPA Entity Class To store Point objects in a database using JPA , you must define an entity class . A JPA entity ... class is an ordinary Java class. The only JPA -specific addition is the @Entity annotation ... class as an entity, JPA throws a PersistenceException . This behavior is similar | |
Setting and Tuning of JPA Queries. However, these changes are not visible to users of other EntityManager instances. JPA implementations ... must be flushed to the database to be visible to the query. The flush policy in JPA is represented by ... and on commit or flush . COMMIT - Flushes changes only on an explicit commit or flush . In most JPA | |
JPA Extended API Reference Guide Jakarta Persistence API ( JPA ) 3.2 documentation, generated from the official JavaDoc and enriched ... . The JPA types are organized in this reference into the following sections : Defines ... configuration options for common JPA operations. Details the annotations used to define the persistent object | |
JPA Class Enhancer directly accessing persistent fields of other classes. This practice is required by the JPA specification ... with JPA JPA Web Application Java EE JPA Spring MVC and JPA Similarly, enhancement can be integrated | |
JPA Named Queries class Country { ... } Note: You can also define named queries in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML mapping files, including the definition ... ) JPA providers and less so for ObjectDB, this manual does not cover that alternative. Using Named | |
Query Parameters in JPA their format: a colon (:) followed by a valid JPQL identifier that serves as the parameter name. JPA ... over ordinal parameters. Criteria Query Parameters In a JPA query built using the JPA Criteria API ... number of methods is not typical for JPA , which is generally known for its lean and simple API | |
JPA Core Types Core Jakarta Persistence ( JPA ) types provide the foundation for bootstrapping the persistence ... illustrates the core JPA classes, interfaces, and enums, including their dependencies and inheritance relationships. Jakarta Persistence ( JPA ) 3.2 Core Types Bootstrapping and Configuration | |
JPA Criteria Query Expressions Jakarta Persistence ( JPA ) Criteria API uses a hierarchy of interfaces to model query conditions ... .SimpleCase Queries may include many different types of expressions and JPA implementations may implement tens and hundreds of classes to manage these different expression types. JPA simplifies | |
JPA Lifecycle Events Callback methods are user-defined methods that are attached to entity lifecycle events. JPA ... and have a public, no-argument constructor to allow JPA to instantiate it. To attach a listener to an entity ... methods are defined for a single lifecycle event, JPA invokes them in the following order: External | |
JPA Queries with full type safety. General query objects Execute SELECT, UPDATE and DELETE queries in JPA using these core interfaces: The base interface for executing queries in JPA . It is often replaced by ... instructions, refer to the JPA Query API section in the ObjectDB manual. Criteria query API | |
Obtaining a JPA Database Connection In JPA , a database connection is represented by the EntityManager interface ... that represents the database. Then, you use that factory to get an EntityManager instance. JPA requires ... . When using JPA , every operation on a database is associated with an EntityManager . Furthermore, in | |
Chapter 3 - Using JPA This chapter explains how to manage ObjectDB databases by using Jakarta Persistence ( JPA ). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD (create, read, update, and delete) operations: The final section discusses advanced topics, such as locking and events: | |
Storing JPA Entities Using Jakarta Persistence ( JPA ) You can store new entities in the database either explicitly by calling the persist method or implicitly through a cascade operation. Explicit persist The following ... . You can do this either by setting the ObjectDB configuration or, in a JPA -portable way, by specifying the cascade-persist | |
JPA Named Queries Annotations Jakarta Persistence ( JPA ) provides annotations to define static, reusable queries at the class level, separating query logic from business code. Query definitions Declare named queries using ... , cache usage, or fetch graphs. For details and examples, see the JPA Named Queries section | |
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 | |
JPA Metamodel Types The Jakarta Persistence ( JPA ) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in Jakarta Persistence ( JPA ) 3.2 Base type definitions The core abstractions of model types | |
JPA Criteria Queries The Jakarta Persistence ( JPA ) Criteria API provides a type-safe, programmatic alternative to string-based JPQL for constructing dynamic queries, ensuring compile-time safety and facilitating ... queries: Criteria Queries Hierarchy in Jakarta Persistence ( JPA ) 3.2 Instances of  | |
JPA Metamodel and Graphs The Jakarta Persistence ( JPA ) Metamodel API provides a type-safe way to introspect the persistent object model at runtime. It allows developers to programmatically examine entities, embeddables ... and further explanation, refer to the JPA Metamodel API section in the ObjectDB manual. Criteria query | |
Detached JPA Entities Detached entities are objects in a special state where they are not managed by an EntityManager but still represent objects in the database. Compared to managed entities, detached objects have limited functionality: Many JPA methods, for example, lock , do not accept detached objects. Retrieval by | |
JPA Attributes Annotations Jakarta Persistence ( JPA ) annotations define how entity attributes (fields and properties) are managed. These annotations control data persistence behavior, including fetching strategies, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior | |
JPA Query Expressions (JPQL / Criteria) [OF] String operator : [NOT] LIKE Logical operators : AND , OR , and NOT JPA queries also support predefined | |
JPA Tutorials The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use ObjectDB and JPA in a console application: Quick Start with JPA | |
Getting Started with JPA This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple Point entities, where each Point has two persistent fields - x and y . If you already know JPA - the source code will be straightforward | |
Eclipse/JPA Spring MVC Web Tutorial This is the Eclipse version of the Spring MVC and JPA tutorial. It demonstrates  ... Eclipse - using ObjectDB, JPA , Tomcat (or GlassFish) and Maven. The demo web application manages ... that have already signed are listed below the form: Persistence is managed by JPA . Every visitor | |
NetBeans/JPA Spring MVC Web Tutorial This is the NetBeans version of the Spring MVC and JPA tutorial. It demonstrates  ... NetBeans - using JPA , ObjectDB, Tomcat (or GlassFish) and Maven. The demo web application ... . The visitors that have already signed are listed below the form: Persistence is managed by JPA | |
JPA Web App Tutorial - Maven Project The JPA Web Application tutorial provides step by step instructions on how to build a simple Java/ JPA database driven web application (for Tomcat / Jetty) in Eclipse or NetBeans ... , you may download and run the result application as a Maven project: JPA Web App - Maven Project (6KB | |
Spring MVC and JPA Tutorial) web application using Tomcat (or GlassFish), JPA , ObjectDB and Maven. The demo web application manages ... that have already signed are listed below the form: Persistence is managed by JPA . Every visitor that has signed the guestbook is represented as Guest JPA entity, and all Guest entities are stored in | |
Getting Started with JPA and Eclipse This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entities, where each Point has two persistent fields: x and y | |
NetBeans/JPA Web Application Tutorial This is the NetBeans version of the JPA Web App tutorial. It demonstrates how  ... Server 6.0 ( some modifications are needed for Tomcat 7.0 ), ObjectDB and JPA . The demo web ... form. The visitors that have already signed are listed below the form: Persistence is managed by JPA | |
Eclipse/JPA Java EE Tutorial This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how  ... GlassFish, ObjectDB and JPA . 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 is represented | |
Eclipse/JPA Web Application Tutorial This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA ... is managed by JPA . Every visitor that has signed the guestbook is represented by a Guest entity | |
Getting Started with JPA - Maven Project The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step ... application as a Maven project: Getting Started with JPA - Maven Project (3KB | |
Spring MVC JPA Tutorial - Maven Project The Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/ JPA Spring MVC database driven web application in Eclipse or NetBeans . Building a new ... , you may download and run the finished application as a Maven project: Spring MVC JPA - Maven Project (8KB) If  | |
NetBeans/JPA Java EE Tutorial This is the NetBeans version of the Java EE JPA tutorial. It demonstrates  ... NetBeans - using GlassFish, ObjectDB and JPA . The demo web application manages a basic guestbook page ... that have already signed are listed below the form: Persistence is managed by JPA . Every visitor that has signed | |
Spring MVC JPA Tutorial - IntelliJ Project To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-spring directory and click OK . Define | |
JPA Web App Tutorial - NetBeans Project To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select File Open Project... . Select the guestbook-web directory and click Open | |
Java EE JPA Tutorial - Maven Project The Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/ JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or  ... ;if you prefer, you may download and run the result application as a Maven project: Java EE JPA Web | |
Spring MVC JPA Tutorial - Eclipse Project To open and run the Spring MVC JPA tutorial project in Eclipse: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the guestbook | |
JPA Web Application Tutorial This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA . 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 is represented | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database. | |
Getting Started with JPA - NetBeans Project To open and run the Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File Open Project... . Select the points-console directory and click Open Project . Run | |
Getting Started with JPA - IntelliJ Project To open and run the Quick Start with JPA tutorial project in IntelliJ IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the points-console directory and click Open Project | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package name (case sensitive). Enter Point as the class name (case sensitive). Click Finish to create | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive |