Internal Website Search

1-50 of 200 results

Step 1: Create a Maven Web Project

We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [New Project ... ; Next . Verify that the Create a simple project checkbox is disabled and click Next . Enter  ... .  1.0 ) and Package ( guest ), and click Finish to create the project. The configuration

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g ... ). Enter Maven Version (e.g. 1.0 ) and Package ( guest ). Click the Finish button to create the project. The configuration of the new created project is contained in a pom.xml file that was created

Step 1: Create a Java Project

We start by creating a new Java project, using: File New Project... If you are using Eclipse IDE for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project ... the bin subdirectory of the ObjectDB installation directory: Click Finish to create the project

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File ... qualified class name is set (you may use copy & paste). Click the Finish button to create ... with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project] dialog ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6 ... : You should now have an Eclipse Java EE 6 project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Java EE Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project ... ;and Java EE 6 Web and click Next . Click the Finish button to create the project (Frameworks are not ... Application project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 2: Create a Project and a Report

To use BIRT we need to create a BIRT Report project in Eclipse: Open the [New Project] dialog box ... and click Next : Enter a project name and click Finish : Now we can create a first report in the new ... file name (e.g. report.rptdesign ) and click Finish. The next step is creating an ObjectDB data source .

Step 1: Create a Web Project

We start by creating a new Eclipse Dynamic Web Project: Open the [New Project] dialog box, e.g. by ... to Tomcat 6 (which has to be downloaded separately) . Click the Finish button to create the dynamic ... : Now you should have an Eclipse Dynamic Web project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 4: Create an ObjectDB Data Set

Queries against the database are represented in BIRT as data sets. To create the data set: Open ... and selecting New Data Set . Select the data source that was created in the previous step (e.g. ObjectDB ... copy and paste to enter the above query and click Finish . When the data set is created

Step 1: Create a Web Project

We start by creating a new NetBeans Web Application Project: Open the [New Project] dialog box, e ... the path to Tomcat. Click the Finish button to create the project (Frameworks are not required). To add ... with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 3: Create an ObjectDB Data Source

Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [Data ... of the ObjectDB data source. The next step is using this data source to create a data set for the BIRT report.

creating EntityManager on odb file created on Mac 64bit on Windows 32bit

Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create ... . But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating ... \expressedpathfinder\UnitDB.class' expressedpathfinder is my main package in java project where I create and use

Date and Time in JPQL and Criteria Queries

for building date and time expressions that represent the current date and/or time: // Create current date expression: Expression date = cb. currentDate (); // date only // Create current time expression: Expression time = cb. currentTime (); // time only // Create current date & time expression

Online Backup

"objectdb backup" . The backup is created under the backup root directory, which by default ... that reflects the current date and time (e.g.  201912312359 ) is created under the backup root directory and the backup database file itself is created in that subdirectory with the name

Logical Operators in JPQL and Criteria API

There are two ways to create a NOT operator: Predicate p5 = cb. not (isInUN); Predicate p6 = isLarge. not (); The CriteriaBuilder 's not method creates a Predicate by negating a specified boolean expression. Alternatively, to create a negation of a Predicate instance, the Predicate 's not method can be invoked.

JPA Criteria API Queries

(both methods are equivalent). In the example above a  CriteriaQuery instance is created for representing the built query. Then a Root  instance is created to define a range variable in the FROM ... . get ("population"), p)); The ParameterExpression instance, p , is created to represent the query parameter

BIRT/ODA ObjectDB Driver

version when using client-server mode. ObjectDB/JPA Data Source To create an ObjectDB data source: Open ... of the ObjectDB data source. Data Sets and JPQL To create the data set: Open the [New Data Set] dialog box

Server User List

of a database. create - permission to create new subdirectories and database files. delete - permission

Chapter 1 - Quick Tour

This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter you should be able to write basic programs that create , open and close ObjectDB databases and perform basic CRUD operations ( Create /Store, Retrieve, Update and Delete

Database Explorer

them in the database, open the [ Create New Entity Objects] dialog box using the  Edit New ... of objects to construct. Click the Create and Persist button to construct and store the new entity

javax.persistence.criteria.CriteriaBuilder

( Expression  x) Create an expression that returns the absolute value of its argument. Parameters: x - expression Return: absolute value Since: JPA 2.0 Expression all ( Subquery  subquery) Create ... Since: JPA 2.0 Predicate and ( Expression  x,  Expression  y) Create a conjunction

Database Management Settings

When enabled, a recovery file is created by ObjectDB when a database is opened and deleted by ObjectDB

SELECT clause (JPQL / Criteria API)

objects are created in the NEW state , which means that they are not managed. Such entity objects

Database Transaction Replayer

exist, ObjectDB automatically creates a backup file as a copy of the existing ObjectDB database file

Setting and Tuning of JPA Queries

an EntityManager  affects all the queries that are created in that EntityManager (except queries with explicit setting of the same hint).

Strings in JPQL and Criteria Queries

, as shown in the following examples: // Create path and parameter expressions: Expression path

Schema Update

- will create new, separate persistable classes with no instances. Therefore, you should backup

Collections in JPQL and Criteria Queries

examples: // Create path and parameter expressions: Expression languages = country. get ("languages

javax.jdo.listener.InstanceLifecycleEvent.CREATE

JDO Static Field in javax.jdo.listener.InstanceLifecycleEvent CREATE Since: JDO 2.0

Step 2: Entity Class and Persistence Unit

class name. Click  Finish to create the new class. A new class that should represent Guest objects in the database was created in the project (under Java Resources: src guest). Use copy ... persistence.xml file was created as shown below: Finally, use copy and paste to copy the following content

Step 3: Add a Context Listener Class

created if not existing yet) when the web application starts, by instantiating an EntityManagerFactory ... All to enable the Finish button. Click Finish to create the new listener class. Now replace the content ... the Enhancer to enhance the entity class,  creates an EntityManagerFactory instance and stores

Step 2: Entity Class and Persistence Unit

  Finish to create the new entity class. A new class that should represent  Guest objects in the database was created in the project (under Java Resources: src/main/java guest). Use  copy ... ; Finish . Verify that a new persistence.xml file was created as shown below: Finally, use  copy

Step 3: Add a Main Class

to create the class. Copy and paste the following code to the newly created class file: package ... (String[] args) { // Open a database connection // ( create a new database if it doesn't exist

Step 3: Add a Context Listener Class

created if not existing yet) when the web application starts, by instantiating ... to create the new listener class. Now replace the content of the new source file with the following ... and creates an EntityManagerFactory instance and stores it as an application scope attribute in

[ODB1] Chapter 9 - ObjectDB Explorer

to browse databases, execute JDOQL queries, create new databases and edit the content of existing ... , but it can also function as an editor. Therefore, you can create new database files and edit exiting database files using the Explorer. Creating a new Database The main purpose of the "Open Local Database" dialog box

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 ... that we will create will be based on the following subset of these points:     (11, 11

Step 2: Define a JPA Entity Class

name (case sensitive). Enter Point as the class name (case sensitive). Click Finish to create the new class. Copy and paste the following code into the newly created Point class: package tutorial

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 ... to create the new servlet class. Now replace the content of the new source file with the following code

Step 2: Entity Class and Persistence Unit

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

Step 2: Entity Class and Persistence Unit

as the package name - use exactly that case sensitive package name. Click Next to create the new ... objects in the database was created in the project (under Source Packages guest). Use copy and paste

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  ... GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create

[ODB1] Chapter 2 - A Quick Tour

// Create or open a database and begin a transaction: 12 PersistenceManager pm = 13 Utilities ... file does not exist in that path, a new database file is created automatically. To enable updating ... and a new empty ArrayList instance is created (line 24). The new ArrayList instance is bound

Step 5: Add a JSP Page

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

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse 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 Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish) and Maven. The demo web application manages

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Step 4: Add a Controller Class

the class name - use  exactly that case sensitive class name. Click  Finish to create

Step 2: Define a JPA Entity Class

class name. The package name should be tutorial . Click Finish to create the new class. Use copy

Step 6: Set the Spring XML

  spring-servlet as the File Name. Click  Finish to create the XML file. Now use 

[ODB1] Chapter 8 - ObjectDB Server

create a server.xml file, the ObjectDB server will use the default.xml file as a last resort ... permission enables modifying their content. In order to create new subdirectories and new database files a create permission is required. A delete permission is required for deletion of subdirectories

[ODB1] Chapter 5 - JDO Connections

for both opening a database and creating a new one. If a database file is not found at the specified connection url, ObjectDB tries to create a new, empty database at that location. This behavior is an ObjectDB extension. JDO does not define a standard method for creating a new database. Closing a Database