Home » Search

About ENABLE_SELECTIVE

81-90 of 200Refresh
Tutorial
5

Step 3: Add a Main Class

clicking the tutorial package node (in the [Package Explorer] window) and selecting New > Class ... (); // Find the number of Point objects in the database: Query q1 = em.createQuery("SELECT COUNT(p ... ()); // Find the average X value: Query q2 = em.createQuery("SELECT AVG(p.x) FROM Point p
JPA Doc
4

javax.persistence.criteria.CriteriaQuery

roots Since: JPA 2.0 Selection getSelection() Return the selection of the query, or null if no selection has been set. Return the selection of the query, or null if no selection has been set. Returns: selection item Since: JPA 2.0 AbstractQuery groupBy(List> grouping) Specify
Tutorial
4

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
Tutorial
4

JPA Web App Tutorial - NetBeans Project

the project zip file: JPA Web Application - 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 Run > Run Main Project... (or F6). Choose or define the server and click OK. If  a browser
Tutorial
4

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 (7KB). Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-spring directory and click Open Project. Run the project: Select
Tutorial
4

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
Tutorial
4

Step 3: Add a Main Class

: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p"); System.out.println("Total ... .createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X: " + q2 ... > query =  em.createQuery("SELECT p FROM Point p", Point.class); List results
Tutorial
4

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
Tutorial
4

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
Manual
4

UPDATE SET Queries in JPA/JPQL

an alternative way for 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