About step by step

41-50 of 200Refresh
Tutorial
135

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 ... . But nevertheless, this class is a valid ObjectDB entity class, despite the warning. The next step is adding a Main
Tutorial
135

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 [Projects] window ... . But nevertheless, this class is a valid ObjectDB entity class, despite the warning. The next step
Tutorial
135

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, e.g. by using File > New > Project... Select Business Intelligence and Reporting Tools > Report ... the report file name (e.g. report.rptdesign) and click Finish. The next step is creating an ObjectDB data source.
Tutorial
135

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 ... . The next step is using this data source to create a data set for the BIRT report.
Tutorial
135

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 ... . The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
Tutorial
135

Step 2: Define a JPA Entity Class [2011-02-11]

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 ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding a Main class
Tutorial
135

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 ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding a Main class
Tutorial
130

Getting Started with JPA

to start by running a live sample application in your IDE, you should be able to follow this tutorial
Tutorial
123

Step 4: Run the Application

You can run the application now by right clicking the Main node (in the [Projects] window ... an additional 1,000 objects. You can view the content of the database file by opening it in the ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
123

Step 4: Run the Application [2016-07-12]

You can run the application now by right clicking the Main.java node (in the [Package Explorer] window) and selecting Run As > Java Application. The expected output in the Eclipse [Console] window ... of the database file by opening it in the ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.