ObjectDB Database Search

101-150 of 200 results

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Query Structure (JPQL / Criteria)

. JPQL keywords, for example, can appear in queries either in upper case (e.g. SELECT) or in lower ... declares one or more query variables (also known as identification variables). Query variables

Numbers in JPQL and Criteria Queries

, which is always a positive number or zero. For example: ABS(-5) is evaluated to 5 ABS(10.7) is evaluated ... must be a criteria numeric expression. The other operand may be either another numeric expression or a simple

JPA Named Queries

to exactly one entity class or mapped superclass - usually to the most relevant entity class ... queries. Notice that named queries may be attached to any entity class or mapped superclass

How to install ObjectDB?

ObjectDB is distributed as a zip file. Just download and extract the ObjectDB distribution zip file. No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file.

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational

Criteria Query Selection and Results

interface is a thin wrapper around Expression , which adds order direction - either ascending (ASC) or ... an ascending or descending Order instance (respectively). See the ORDER BY in Criteria Queries section 

BIRT/ODA ObjectDB Driver

connection URL - either embedded (e.g. c:\points.odb ) or client-server (e.g.  objectdb ... ) and click Next . Entry a JPQL or a JDOQL query and click Finish . See the Report Generation

UPDATE SET Queries in JPA/JPQL

variable (with or without an explicit variable name) for iteration. Multiple variables and JOIN are not supported. The SET clause defines one or more field update expressions (using the range

Online Backup

An ObjectDB database can be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB server and not in use by any application ...  ( em ) that represents the connection (local or remote) to the database:    

JPA Persistence Unit

. One persistence.xml file can include definitions for one or more persistence units. The portable way ... explicitly by using class elements (for single class registration) or jar-file elements

Working with JPA Entity Objects

the Configuration chapter. By default, managed entity objects that have not been modified or removed ... references or soft references instead of weak references . The contains method can check if a specified

InterfaceRef jakarta.persistence.EntityManager

entity is an instance with a persistent identity that is not ( or no longer) associated with any active ... . The EntityManager API is used to perform operations that affect the state of the persistence context, or ... changes to the state of an entity instance by mutating the entity directly, or it may request

FROM clause (JPQL / Criteria API)

, MOD, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR , ORDER, OUTER, POSITION, SELECT, SET, SIZE, SOME, SQRT

Date and Time in JPQL and Criteria Queries

for building date and time expressions that represent the current date and/ or time: // Create

Collections in JPQL and Criteria Queries

Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as  path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages

Is ObjectDB better than competing object databases?

relational database by using an ORM JPA provider such as Hibernate, EclipseLink or Open JPA

What is the Java Persistence API (JPA)?

order to interact with a relational database such as Oracle, DB2, SQL Server or MySQL. The popular JPA

DELETE Queries in JPA/JPQL

As explained in chapter 2 , entity objects can be deleted from the database by: Retrieving the entity objects into an EntityManager . Removing these objects from the EntityManager  within an active transaction, either explicitly by calling the  remove method or implicitly

Literals in JPQL and Criteria Queries

); or by a special CriteriaBuilder 's method, nullLiteral , that returns a typed expression

ObjectDB - JPA Object Database for Java

or NetBeans . Forget relational databases, JDBC, drivers, tables, records, ORM tools and mapping

Where can I learn how to use ObjectDB?

experience in database development, SQL or JPA, but such experience is definitely not a prerequisite.

Defining a JPA Entity Class

, any field that is not declared as static or transient is a persistent field. For example

JPA Query API

should be used mainly when the query result type is unknown or when a query returns polymorphic

CRUD Database Operations with JPA

coordinate is greater or equal to 100 are deleted. All the other Point objects are updated. Chapter 3

ObjectDB 2.9 Developer's Guide

A prior knowledge of database programming (SQL, JDBC, ORM or JPA) is not required in order to follow

JPA Annotations for Access Modes

Persistence fields can either be accessed by JPA directly (as fields) or indirectly (as properties and get/set methods). JPA 2 provides an annotation and an enum for setting the access mode: More details are provided in chapter 2 of the ObjectDB manual.

Java EE Web Tutorial

(session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6. If you need a web application that can run on a simple servlet container (such as Tomcat or Jetty

Java EE 6 JPA Tutorial - NetBeans Project

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 is not opened - open it at http://localhost:8080/Guestbook/.

Step 2: Entity Class and Persistence Unit

) and selecting  New Entity Class ... ( or   New Other... Persistence Entity Class and clicking ... a text editor (by right clicking and selecting Edit or by double click and then moving to the XML

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 ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

Step 3: Add a Context Listener Class

a ServletContextListener to perform initialization and cleanup operations: The database will be opened ( or ... an EntityManagerFactory . The database will be closed when the web application stops ( or when the web server shuts

Spring MVC JPA Tutorial - NetBeans Project

Project . Run the project: Select  Run Run Main Project... ( or   F6 ). Choose or define

Step 2: Entity Class and Persistence Unit

node (in the [Project Explorer] window) and selecting New Folder ( or   New Other... General

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat ( or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Spring MVC JPA Tutorial - IntelliJ Project

IDEA: Select the new run configuration at the toolbar and click the green run icon ( or   Shift

Step 6: Set the Spring XML

editor (by right clicking and selecting  Open With Text Editor or by double click

Step 6: Set the Spring XML

clicking and selecting Edit or by double click and then moving to the XML tab in the editor window

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 

JPA Tutorials

, such as GlassFish 3.0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework

Java EE 6 JPA Tutorial - Eclipse Project

when the Maven project is imported into the IDE). Choose or define the server and click  Finish

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New Other... Java EE ( or Enterprise JavaBeans) Session

Step 3: Create an ObjectDB Data Source

Start tutorial ). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb ) or client

Spring MVC JPA Tutorial - Eclipse Project

project is imported into the IDE). Choose or define the server and click  Finish . Eclipse

Eclipse/JPA Web Application Tutorial

For this tutorial you will need the following software: Java JDK (6.0 or above). Eclipse IDE for Java EE Developers

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 is an effective way to learn - but if you prefer, you may download and run the result

Getting Started with JPA - NetBeans Project

the project in NetBeans: Select Run Run Main Project... ( or F6 ). Click Select Main Class .

Getting Started with JPA - IntelliJ Project

. Run the project in IntelliJ IDEA: Select Run Run Main Project... ( or F6 ). Click Select Main Class .

JPA Web App Tutorial - Eclipse Project

is imported into the IDE). Choose or define the server and click Finish . Eclipse should open an internal

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.