ObjectDB Database Search

51-100 of 200 results

ORDER BY clause (JPQL / Criteria API)

The ORDER BY clause specifies the order for the query results. Any JPQL query that does not include an ORDER BY clause returns results in an undefined and non-deterministic order. ORDER BY ... , ordered by country name: SELECT c.name FROM Country c WHERE c.population 1000000 ORDER BY c.name

GROUP BY and HAVING clauses

The GROUP BY clause groups query results. A JPQL query with a GROUP BY clause returns properties ... , the GROUP BY clause is processed after the FROM and WHERE clauses but before the SELECT clause. When a query includes a GROUP BY clause, the database objects (or tuples) that result from the FROM clause

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class . The package name should be tutorial . Enter Main as the class name (case sensitive). Click Finish

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax

Privacy Policy

the Service. By using the Service, You agree to the collection and use of information in accordance ... files that are placed on Your computer, mobile device or any other device by a website, containing ... individuals employed by the Company to facilitate the Service, to provide the Service on behalf

BIRT/ODA ObjectDB Driver

. For step by step instructions on using BIRT with ObjectDB see the Report Generation with BIRT ... extension. To install it: Open the Install dialog box by selecting Help Install New Software... . In ... .  Select the ObjectDB BIRT/ODA feature. Complete the installation by clicking Next twice

Chapter 1 - Quick Tour

this chapter in your IDE, see one of the following tutorials: These tutorials provide step - by - step ... This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program ... is represented by an object with two int fields, x and y , that store the point's x and y

ObjectDB License Agreement [ver. 2.0.4]

Please read carefully this software license agreement. By downloading, installing or using ... of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1 ... other humanly perceivable form. The Customer will use its best efforts and take all reasonable steps

UPDATE SET Queries in JPA/JPQL

You can update existing entities, as explained in chapter 2 , by following these steps : Retrieve ... . Apply the changes to the database by calling the commit method. JPQL UPDATE queries provide ... queries increase the population of all countries by 10%: UPDATE Country SET population = population * 11

DELETE Queries in JPA/JPQL

As explained in Chapter 2 , you can delete entities from the database by following these steps ... within an active transaction, either explicitly by calling the remove method or implicitly through a cascading operation. Apply changes to the database by calling the commit method. JPQL DELETE queries provide

JPA Metamodel API

(an optional step when using ObjectDB), these methods return only known managed types. This includes ... a specific type by its Class instance: // Get a managed type (entity, embeddable or mapped super classes ... . Type interface hierarchy In the Metamodel API, types are represented by interfaces that extend the Type

Obtaining a JPA Database Connection

In JPA, a database connection is represented by the EntityManager interface ... an EntityManager instance is a two- step process. First, you obtain an EntityManagerFactory instance ... directory, which by default is the directory where ObjectDB is installed. If a database file does not

What are the steps of creating small web app?

What are the steps of creating small web app?

Pre-detach loading: retrieval by navigation not working in if statement

that can be referenced by ID, and meets a uniform and powerful IElement interface. - The BooleanValue is doing a heap ... to do it this way; but the wrapped boolean value is not the whole story.   webel Dr Darren Kelly By JVM ... -Djava.compiler=NONE webel Dr Darren Kelly OK. It could still be an optimization that is used by the JVM

query hint

: Query plan 1/128 description ============================ Step 1: Process ObjectNode (o) instances ---------------------------------------- [ Step 1a] Scan index com.agile.hummingbird.ObjectNode ... )'). [ Step 1b] Retrieve fields in ObjectNode (o) instances. Step 2: Process ObjectProperty (v$2

JPA Core Types

. Use its static methods to create an EntityManagerFactory as the first step for accessing

composite index not used in query

and a.startDate ?1)) the composite index is not used, query plan:  Step 1: Process Action (a) instances ------------------------------------ [ Step 1a] Scan index com.agile.hummingbird.Action[startDate] locating all the Action (a) instances. [ Step 1b] Filter the results of step 1a retaining

JPA Web App Tutorial - Maven Project

The  JPA Web Application tutorial provides step by step instructions on how to build a simple ... . Building a new application step by step is an effective way to learn - but if you prefer ... ) If  Maven is installed - extract the zip and run the application from the command line by

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step ... ) If Maven is installed - extract the zip and run the application from the command line by : mvn test

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but 

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but if you prefer

jakarta.persistence.AttributeConverter

of the entity attribute Interface implemented by custom attribute converters . A converter is a class ... as the type of a persistent field or property, and a basic type used as an intermediate step in ... column for use by the JDBC driver: i.e., persistence providers are not expected to do such type

Eclipse/JPA Spring MVC Web Tutorial

a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a  Guest JPA entity and all the  Guest entities

NetBeans/JPA Web Application Tutorial

application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity and all the Guest

NetBeans/JPA Spring MVC Web Tutorial

manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest JPA entity and all the Guest entities

Eclipse/JPA Java EE Tutorial

can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity and all the Guest entities are stored in an ObjectDB database. Required Software

Eclipse/JPA Web Application Tutorial

. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by ... is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity ... would be the same). The Tutorial Steps This tutorial consists of the following steps :

NetBeans/JPA Java EE Tutorial

. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity and all the Guest entities are stored in an ObjectDB database

JPA Tutorials

3 web application: Spring MVC and JPA Maven Projects for Download The tutorials provide  step by step instructions on how to create the sample applications. In addition, the sample applications

combined index not used

--------------------- Group the results of step 5 by : a.endDate,v$1.nodePath,v$3.doubleValue. Step 7: Apply ... .properties.name = 'scheduledSlot') GROUP BY a.endDate, a.objectsInCharge.nodePath, a.objectsInCharge ... we can see that this index is not used: Query Plan Description ====================== Step 1: Process

Different behavior for two equal queries

Description ====================== Step 1: Process IndividualContact ($1) instances ------------------------------------------------ [ Step 1a] Scan type com.quasado.foundation.communication.api.model.contact.individual.IndividualContact locating all the IndividualContact ($1) instances. [ Step 1b

queries under 2.7.6_4 significantly slower than under 2.7.6

.classIdentifier='(TC)')). [ Step 1b] Order the results of step 1a by :   v$1. [ Step 1c] Scan index com.agile ... )')). [ Step 1d] Order the results of step 1c by :   v$1. [ Step 1e] Merge the results of steps 1b ... results --------------------- Group the results of step 4 by :   o. [ Step 6] Remove duplicates

Database Explorer

, you must specify the path to the file. Alternatively, you can run the Explorer by double-clicking explorer.jar ... a database path on the server, which you can do by using the Browse button. You can also open recently used databases from the File Recent Connections menu. By default, the Explorer automatically tries

Apache License, Version 2.0, January 2004

the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright ... and all other entities that control, are controlled by , or are under common control with that entity

JPA Entity Fields

and final entity fields are always considered transient. You can declare other fields as transient by using ... -final entity field is persistent by default unless specified otherwise (for example, by using ... its methods or code. This state is reflected by its persistent fields, including fields inherited from

JPA Persistable Types

are represented in queries by entity names . By default, the entity name is the unqualified name ... can be set explicitly by using the name attribute of the @Entity annotation: @Entity ( name ="MyName ... is declared as embeddable by marking it with the @Embeddable annotation: @Embeddable public class Address

Retrieving JPA Entities

the no-argument constructors of entity classes and keep them as simple as possible. Retrieval by class and primary key Every entity can be uniquely identified and retrieved by the combination of its class ... is similar to the find method, but if the entity is not already managed by the EntityManager

Eclipse Public License - v 1.0

additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or ... entity that distributes the Program. "Licensed Patents" mean patent claims licensable by

Getting Started with JPA and Eclipse

well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps :

Getting Started with JPA and NetBeans

well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps :

Database Management Settings

for each new database file. The resize attribute specifies the size by which to extend the database ... can improve performance by reducing file fragmentation that can result from frequent resize operations ... environments. By default, the recovery file is created in the same directory as the database file

JPA Optimistic and Pessimistic Locking

. When you use ObjectDB, optimistic locking is enabled by default and is fully automatic. Optimistic ... ;is modified, its version number is automatically incremented by one. Version numbers are managed internally but can be exposed by defining a version field . During commit (and flush ), ObjectDB checks

FROM clause (JPQL / Criteria API)

By default, the name of an entity class in a JPQL query is the unqualified name of the class (for example, Country with no package name). The default name can be overridden by specifying another name ... to a single-value expression are less commonly used because they can usually be replaced by

JPA Class Enhancer

The ObjectDB Enhancer is a post-compilation tool that improves performance by modifying ... directly accessing persistent fields of other classes. This practice is required by the JPA specification but not enforced by ObjectDB. Instead, use the accessor and mutator methods of the desired class

Paths and Types in JPQL and Criteria API

classes) are represented in JPQL by the following types of expressions: Variables : FROM ... persistent classes can participate in direct comparisons by using the = and operators ... by all six comparison operators and used for ordering . Navigation through path expressions A path

JPA Primary Key

and can be retrieved by the combination of its type and its primary key. Primary key values must be unique for each ... part of their containing entities and do not have a separate identity. Automatic primary key By default ... value by declaring a primary key field: @Entity public class Project { @Id @GeneratedValue long id

Query Parameters in JPA

a Country object from the database by its name: public Country getCountryByName( EntityManager em ... a value for the parameter by using the setParameter method. The setParameter method supports method chaining by returning the TypedQuery instance on which it was invoked. This allows you to chain

Storing JPA Entities

Using Jakarta Persistence (JPA) You can store new entities in the database either explicitly by ... . The exception is thrown either by persist , if the existing entity is currently managed by the EntityManager , or by commit . Referenced embedded objects The following code stores an Employee instance

JPA Shared (L2) Entity Cache

a second-level (L2) cache of entities, which is managed by the EntityManagerFactory and shared by ... and are shared by all EntityManagerFactory and EntityManager instances for that database ... value. Persistence Unit Settings You can also enable or disable the shared cache by using a persistence

ObjectDB Object Database Features

Databases are also supported by ObjectDB. The combination of Object Database features ... (limited only by operating system resources). Unlimited CPUs and cores. Reliability and Stability Recovery from failure by using a  recovery file and double writing. Additional recovery layer