ObjectDB Database Search

101-150 of 200 results

Auto Generated Values

. This generator creates automatic object IDs for entities that do not have defined primary key

JPA Queries

for creating criteria queries and their elements (predicates, expressions, etc.). Obtain it from 

Privacy Policy

For the purposes of this Privacy Policy: Account  means a unique account created for You to access

JPA Container Injection Annotations

a dependency on an EntityManagerFactory , useful for creating EntityManagers manually or accessing factory

Database Doctor

database file : Creates a new database file and copies all recoverable data from the corrupted file

What's next?

This chapter introduced the basic principles of JPA with ObjectDB. For more details, see the other chapters in this manual. To start using ObjectDB immediately, follow one of the tutorials below to create and run the example program from this chapter: These tutorials explain how to run the example

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:

Eclipse Public License - v 1.0

the Program in a commercial product offering should do so in a manner which does not create potential

JPA Criteria Query Selection and Results

both ascending and descending directions. You can create instances using CriteriaBuilder.asc

JPA Persistence Unit

.EntityManagerFactory; import jakarta.persistence.PersistenceConfiguration; // ... // Create a programmatic

Managing JPA Entities

. When an entity is first created , its state is New . In this state, the object is not yet associated

jakarta.persistence.criteria.ParameterExpression

) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression ... . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test ... ) Create a predicate to test whether the expression is a member of the argument list. Inherited from

jakarta.persistence.criteria.CriteriaBuilder.Case

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument ... Persistence (JPA) 1.0 Predicate in ( Object... values ) Create a predicate to test

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument ... Persistence (JPA) 1.0 Predicate in ( Object... values ) Create a predicate to test

jakarta.persistence.criteria.Expression

(JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create ... ) Create a predicate to test whether the expression is a member of the argument list. Parameters: values

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument ... ... values ) Create a predicate to test whether the expression is a member of the argument list. Inherited

jakarta.persistence.Persistence

EntityManagerFactory createEntityManagerFactory ( String persistenceUnitName ) Create and return ... of the persistence unit Returns: the factory that creates EntityManager s configured according ... createEntityManagerFactory ( String persistenceUnitName , Map properties ) Create and return an EntityManagerFactory

jakarta.persistence.criteria.Fetch

fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute ... attribute , JoinType jt ) Create a fetch join to the specified single-valued attribute using the given ... attribute ) Create a fetch join to the specified collection-valued attribute using an inner join

jakarta.persistence.criteria.FetchParent

( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner ... Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join ... Fetch fetch ( PluralAttribute attribute ) Create a fetch join to the specified collection-valued

jakarta.persistence.criteria.AbstractQuery

Persistence (JPA) 1.0 Root from ( Class entityClass ) Create and add a query root corresponding ... Root from ( EntityType entity ) Create and add a query root corresponding to the given entity, forming ... is returned. If the query was created using the createTupleQuery method, the result type is Tuple

jakarta.persistence.criteria.CriteriaUpdate

Methods Root from ( Class entityClass ) Create and add a query root corresponding to the entity ... . Since: Jakarta Persistence (JPA) 1.0 Root from ( EntityType entity ) Create and add a query root ... update query. Since: Jakarta Persistence (JPA) 1.0 Subquery subquery ( Class type ) Create a subquery

Step 1: Install BIRT and ObjectDB Driver

matching the driver version to the ObjectDB server version when using client-server mode. The next step is creating a BIRT Report project .

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode - the database file is created under the GlassFish directory (e.g. at domains\domain1\eclipseApps

Step 3: Define an EJB Session Bean

name. The Java package name should be guest. Click Finish to create the new session bean (EJB

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6

Step 3: Define a Spring DAO Component

name. The Package should be guest. Click Finish to create the new DAO Spring component class. Now

Step 5: Add a JSP Page

to create the new JSP file. Now replace the content of the new jsp file with the following content: JPA

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat server and open

NetBeans/JPA Spring MVC Web Tutorial

This is the NetBeans version of the Spring MVC and JPA tutorial. It demonstrates how to  create and run a full Java Spring MVC (Model View Controller) web application in NetBeans - using JPA, ObjectDB, Tomcat (or GlassFish) and Maven. The demo web application

Step 3: Add a Main Class

a database connection // ( create a new database if it doesn't exist yet): EntityManagerFactory emf

Step 4: Add a Controller Class

name. The Package should be guest. Click Finish to create the new Spring Controller class. Now

Eclipse/JPA Java EE Tutorial

This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to  create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor

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. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by

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 can sign the guestbook by filling a simple form. The visitors that have already signed are listed

Step 2: Define a JPA Entity Class

to create the new class. The new class should represent Guest objects in the database. Use copy

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

Step 3: Define a Spring DAO Component

that case sensitive class name. Click  Finish to create the new DAO Spring component class. Now

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the  GuestServlet node (in the [Projects] window), selecting  Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory

NetBeans/JPA Java EE Tutorial

This is the NetBeans version of the  Java EE JPA tutorial. It demonstrates how to  create and run a full Java EE 6 MVC (Model View Controller) web application in NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page

Step 5: Add a JSP Page

to create the new JSP file. Now replace the content of the new jsp file with the following content: JPA

Step 5: Add a JSP Page

- use  exactly that case sensitive class name. Click  Finish to create the new JSP file. Now

Step 5: Add a JSP Page

  exactly that case sensitive class name. Click  Finish to create the new JSP file. Now

Step 4: Add a Servlet Class

package name should be guest. Click Finish to create the new servlet class. Now replace the content

Step 2: Define a JPA Entity Class

to create the new class. Use copy and paste to replace the new source file content with the following

Step 3: Define an EJB Session Bean

to create the new session bean (EJB) class. Now replace the content of the new source file

Step 5: Add a JSP Page

that case sensitive class name. Click Finish to create the new JSP file. Now replace the content

Getting Started with JPA and NetBeans

This is the NetBeans version of the  Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple  Point entities, where each  Point has two persistent fields - 

Step 4: Add a Servlet Class

package name should be guest. Click Finish to create the new servlet class. Now replace the content

Step 7: Run the Spring Web App

in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat