ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
8

JPA Queries

. "SELECT c FROM Country"). Criteria Query API Building dynamic queries with a structure that is known ... three groups. SELECT and ORDER BY elements (including tuples): FROM clause elements (representing range
8

JPA Query API

for both Query and TypedQuery: Query q1 = em.createQuery("SELECT c FROM Country c"); TypedQuery<Country> q2 = em.createQuery("SELECT c FROM Country c", Country.class); In the above code
1

Step 3: Define an EJB Session Bean

node (in the [Projects] window), selecting New > Other... > Java EE (or Enterprise JavaBeans ... () { TypedQuery<Guest> query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest
1

Step 3: Define a Spring DAO Component

clicking the guest package node (in the [Projects] window under Source Packages) and selecting New ... = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return
1

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 Explorer] window and selecting New Data Source. Select ObjectDB Data Source from the list of available
1

Step 6: Design a BIRT Report Table

. Set the column number to 2, number of details to 1, select the data set (e.g. Points by X) in ... to see the table with the real data: You can run the report by right clicking the report node in the [Navigator] window and selecting Report > Run Report:
1

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... the persistence.xml file in a text editor (by right clicking and selecting Edit or by double click
1

Step 3: Define a Spring DAO Component

clicking the guest package node (in the [Package Explorer] window) and selecting New > Class ... ( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return query
1

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 new project: Right click the Reports node in the [Navigator] and select New > Report. Enter
0

[ODB1] Chapter 3 - Persistent Classes

are also persistent types: All the primitive types - boolean, byte, short, char, int, long, float and double. Selected ... and String. Selected classes in package java.util: Date, Locale, HashSet, TreeSet, ArrayList

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support