About create

61-70 of 200Refresh
Manual
8

Database Explorer

Objects To construct new entity objects and store them in the database, open the [Create New Entity ... the entity class and specify the number of objects to construct. Click the Create and Persist button
Tutorial
8

Report Generation with BIRT and JPA

This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as ... = x:     (0, 0), (1, 1), (2, 2), ..., (999, 999) The BIRT report that we will create will be based
Tutorial
8

Step 2: Entity Class and Persistence Unit

name - use exactly that case sensitive package name. Click Next to create the new entity class. In ... in the database was created in the project (under Source Packages > guest). Use copy and paste
Tutorial
8

Step 2: Entity Class and Persistence Unit

name - use exactly that case sensitive package name. Click Next to create the new entity class. In ... the database was created in the project (under Source Packages > guest). Use copy and paste to replace
Tutorial
8

Step 3: Add a Main Class

) { // Open a database connection // (create a new database if it doesn't exist ... (); } } The main method creates an ObjectDB database file, stores 1000 Point objects in the database
Tutorial
8

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create the new
Tutorial
8

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create the new
JPA Doc
8

javax.persistence.criteria.Path

 attributeName) Create a path corresponding to the referenced attribute. Create a path corresponding ... ) Create a path corresponding to the referenced map-valued attribute. Create a path corresponding ... > collection) Create a path corresponding to the referenced collection-valued attribute. Create a path
JPA Doc
7

javax.persistence.EntityManager

. The EntityManager API is used to create and remove persistent entity instances, to find entities by their primary ... - if not an entity Since: JPA 1.0 Query createNamedQuery(String name) Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL). Create
JPA Doc
7

javax.persistence.criteria.CriteriaQuery

Returns: the modified query. Since: JPA 2.0 Root from(Class entityClass) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Create ... entity Since: JPA 2.0 Root from(EntityType entity) Create and add a query root corresponding