Home » Search

About DISABLE_SELECTIVE

81-90 of 200Refresh
Manual
4

JPA Entity Fields

the Department entity): SELECT e FROM Employee e WHERE e.department = :d The mappedBy element defines ... ; } In that case the employees field is filled with the results of the following query: SELECT e FROM ... results by specifying a selected key field using the MapKey annotation: @Entity public class
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
Manual
4

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 ... query retrieves all the countries whose population does not exceed a specified limit: SELECT c FROM
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
Tutorial
4

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