ObjectDB Database Search

101-150 of 200 results

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

of a corrupted ObjectDB database file Repairs a corrupted ObjectDB database file by creating a new

Obtaining a JPA Database Connection

). If no database file exists yet at the given path ObjectDB will try to create one. The EntityManagerFactory

What's next?

This chapter introduced the basic principles of JPA using ObjectDB. You can go into details by reading the other chapters of this manual. If you prefer to get started with ObjectDB right away you can follow one of the following tutorials to create and run the example program that was described in

Eclipse Public License - v 1.0

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

Database Connection using JPA

. If the database does not yet exist a new database file is created . When the application is finished using

JPA Criteria Query Selection and Results

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

Working with JPA Entity Objects

: New, Managed, Removed and Detached. When an entity object is initially created its state is New

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

jakarta.persistence.criteria.CriteriaDelete

entityClass ) Create and add a query root corresponding to the entity that is the target of the DELETE ... (JPA) 1.0 Root from ( EntityType entity ) Create and add a query root corresponding to the entity ... subquery ( Class type ) Create a subquery of the query. Inherited from CommonAbstractCriteria

jakarta.persistence.GenerationType

to create one. A vendor may provide documentation on how to create such resources in the event that it does not support schema generation or cannot create the schema resource at runtime. Since: Jakarta

jakarta.persistence.SchemaManager

.getSchemaManager() Since: Jakarta Persistence (JPA) 3.2 Public Instance Methods void create ( boolean createSchemas ) Create database objects mapped by entities belonging to the persistence unit ... it may ignore the problem and continue. Parameters: createSchemas - if true , attempt to create schemas

jakarta.persistence.criteria.CriteriaQuery.multiselect(Selection...)

created as well as the arguments to the multiselect method. An argument to the multiselect method must not ... : If the type of the criteria query is CriteriaQuery (i.e., a criteria query object created by ... of the criteria query is CriteriaQuery for some user-defined class X (i.e., a criteria query object created by

jakarta.persistence.criteria.CriteriaQuery.multiselect(List)

of the query execution depends on the specification of the type of the criteria query object created as ... follows: If the type of the criteria query is CriteriaQuery (i.e., a criteria query object created ... ., a criteria query object created by passing a X class argument to the createQuery method), the elements

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 entity objects, 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 entity objects, 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