ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
10

Logical Operators in JPQL and Criteria API

retrieves countries whose population and area (both) exceed specified limits: SELECT c FROM ... The following query retrieves countries whose population or area exceeds a specified limit: SELECT c FROM ... retrieves all the countries whose population does not exceed a specified limit: SELECT c FROM
10

UPDATE SET Queries in JPA/JPQL

an alternative way of updating entity objects. Unlike SELECT queries, which are used to retrieve data from ... method returns the number of objects that have been modified by the query. Selective Update UPDATE ... , which is essential for updating selected entity objects, is supported. For example, the following query updates
2

JPA Web App Tutorial - NetBeans Project

To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-web directory and click Open Project. Run the project: Select
2

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 > New Project... Select Java > Java Application and click Next. Choose a Project Name (e.g. Tutorial ... ] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory
2

Step 7: Run the Spring Web App

the [Project Explorer] window), selecting Run As > Run on Server, selecting the Tomcat 6.0 server ... the embedded Maven Jetty plugin: Right click the project node and select Run As > Maven Build... Enter
2

Step 3: Add a Main Class

the database: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p ... : Query q2 = em.createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X ... : TypedQuery<Point> query =  em.createQuery("SELECT p FROM Point p", Point.class
2

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging a Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [Select Chart Type] tab select Tube as the chart type and click Next. In the [Select Data] tab
2

Java EE 6 JPA Tutorial - NetBeans Project

: Select File > Open Project.... Select the guestbook-jee6 directory and click Open Project. Run the project: Select Run > Run Main Project... (or F6). Choose or define the server and click OK
2

Step 4: Create an ObjectDB Data Set

and selecting New Data Set. Select the data source that was created in the previous step (e.g. ObjectDB ... a specified range: SELECT p.x as x, p.y as y FROM Point p WHERE p.x BETWEEN :low AND :high Use copy
2

Spring MVC JPA Tutorial - NetBeans Project

To open and run the Spring MVC JPA tutorial project in NetBeans: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-spring directory and click Open Project. Run the project: Select

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