ObjectDB Database Search

51-100 of 200 results

About Us

ObjectDB Software develops, markets and supports the ObjectDB Object-Oriented Database Management System (ODBMS). ObjectDB Software is the market leader in providing a very high performance persistence solution for Java , based on the Java Persistence API (JPA) and the Java Data Objects (JDO

Is ObjectDB a NoSQL Database?

, using two standard Java query languages: JPQL ( Java Persistence Query Language) and JDOQL (JDO ... , but they are easier to use in object oriented languages such as Java . In addition, unlike most other NoSQL databases

Database Doctor

of the Operating System, Java or ObjectDB). Copying a database file while it is open and in use ... . It can be run from the command line: $ java -cp objectdb.jar com.objectdb.Doctor my.odb If objectdb.jar ... two command line arguments: $ java -cp objectdb.jar com.objectdb.Doctor old.odb new.odb The first argument

ObjectDB 2.9 Developer's Guide

Welcome to ObjectDB for Java /JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA ( Java Persistence API). The main purpose of this guide is to make ... this guide, but a strong background and understanding of the Java language is essential

Paths and Types in JPQL and Criteria API

value. In Java , a NullPointerException is thrown on any attempt to access a field or a method via a null ... of a specified argument, similarly to java .lang.Object 's getClass method in Java . The following query

Posting Sample Code

. Whenever possible: Use a single Java file with one main class + static inner classes for entity ... test; import java .util.*; import javax.persistence.*; public final class MyTestCase {    ... a persistence unit, An entity or IdClass class should implement the java .io.Serializable interface).

Database Transaction Replayer

. It can be run from the command line: $ java -cp objectdb.jar com.objectdb.Replayer my.odb If objectdb.jar ... up to a specified transaction, e.g.: $ java -cp objectdb.jar com.objectdb.Replayer my.odb 1000

Retrieving JPA Entity Objects

The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content ... of JPA is JPQL ( Java Persistence Query Language). It enables retrieval of objects from the database by

Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data Objects (JDO) API. ObjectDB is a full featured

Chapter 6 - Configuration

: $ java "-Dobjectdb.home=/odb" ... The Configuration File As noted above, by default ... "); It can also be set as an argument to the JVM: $ java "-Dobjectdb.conf=/my/objectdb.conf

FROM clause (JPQL / Criteria API)

The FROM clause declares query identification variables that represent iteration over objects in the database. A query identification variable is similar to a variable of a Java enhanced for loop in ... Identifiers The name of a JPQL query variable must a valid Java identifier

Query Parameters in JPA

. setParameter ("date", new java .util.Date(), TemporalType . DATE ); Since TemporalType . Date represents a pure date, the time part of the newly constructed java .util.Date instance is discarded

Online Backup

;backupQuery.setParameter("target", new java .io.File("c:\\backup"));     backupQuery ... argument is specified as a java .io.File instance and em represents a client-server connection

Date and Time in JPQL and Criteria Queries

- is evaluated to the current date (a java .sql.Date instance). CURRENT_TIME - is evaluated to the current time (a java .sql.Time instance). CURRENT_TIMESTAMP - is evaluated to the current timestamp, i.e

ObjectDB Overview

Features 100% pure Java Object-Oriented Database Management System (ODBMS). No proprietary API - managed only by standard Java APIs (JPA 2 / JDO 2). Extremely fast - faster than any other JPA / JDO

Is ObjectDB better than competing object databases?

support for the Java Persistence API (JPA). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA

Database Schema Evolution

). Any other conversion that is a valid casting operation in Java . Renaming (Package, Class and Field

Database Explorer

it from the command line as follows: $ java -jar explorer.jar If explorer.jar is not in the current

Storing JPA Entity Objects

(). commit (); The Employee instance is constructed as an ordinary Java object and its initial state

Is ObjectDB better than Object Relational Mapping (ORM)?

is developed for an existing old relational database). By using the Java Persistence API (JPA

Where can I learn how to use ObjectDB?

The best source for learning ObjectDB is the ObjectDB Manual , which contains all the necessary information for using ObjectDB. The only required background is a good understanding of the Java language. Reading the manual and getting started with ObjectDB could be easier for developers with prior

Database Connection using JPA

Working with the Java Persistence API (JPA) consists of using the following interfaces: Overview A connection to a database is represented by an EntityManager instance, which also provides functionality for performing operations on a database. Many applications require multiple database

JPA Query API

queries,  based on Java objects that represent query elements (replacing string based JPQL). JPA

Step 2: Entity Class and Persistence Unit

the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... objects in the database was created in the project (under Java Resources: src guest). Use copy and paste to replace the new source file content with the following code: package guest; import java .io

Step 1: Install BIRT and ObjectDB Driver

IDE for Java EE Developers. Update your existing Eclipse IDE for Java EE Developers environment by ... with no Java EE support is more complicated because of BIRT dependencies and is not covered here). To update an existing  Eclipse IDE for Java EE Developers environment: Open the [Install] dialog box by

Getting Started with JPA and Eclipse

. For this tutorial, besides the Java JDK (8 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB

Step 4: Add a Servlet Class

... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java ... of the new source file with the following code: package guest; import java .io.IOException; import java

NetBeans/JPA Web Application Tutorial

This is the NetBeans version of the  JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat ... you will need the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version

Step 4: Add a Servlet Class

  New Other... Web Servlet and clicking  Next . The Java package name should be guest ... : package guest; import java .io.IOException; import java .util.List; import javax.servlet.ServletException

Eclipse/JPA Web Application Tutorial

This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA ... For this tutorial you will need the following software: Java JDK (6.0 or above). Eclipse IDE for Java EE Developers

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package ... with the following code: package guest; import java .util.List; import javax.ejb.Stateless; import javax.persistence ... are only supported by Java EE application servers such as GlassFish and JBoss, and not by servlet containers

NetBeans/JPA Spring MVC Web Tutorial

This is the NetBeans version of the Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java  Spring MVC (Model View Controller) web application in ... the following software: Java JDK 6.0 (or above). NetBeans ( Java or All bundle). The tutorial

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right ... Java Class... . Enter  GuestDao as the class name - use  exactly that case sensitive class ... replace the content of the new source file with the following code: package guest; import java .util.List

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse version of the  Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java  Spring MVC (Model View Controller) web application in ... the following software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers. m2eclipse

Step 4: Run the Application

You can now run the application by right clicking the Main. java file (in the [ Package Explorer ] window) and selecting Run As Java Application . The expected output in the Eclipse [Console] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999

Step 2: Define a JPA Entity Class

; import java .io.Serializable; import javax.persistence.*; @Entity public class Point implements ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding to the project

Getting Started with JPA and NetBeans

-  x and  y . For this tutorial, besides the Java JDK (8 or above) and the NetBeans IDE (any bundle that includes Java is expected to work), you only need to download and extract

Step 4: Add a Servlet Class

... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java ... of the new source file with the following code: package guest; import java .io.IOException; import javax

Step 2: Entity Class and Persistence Unit

to replace the new source file content with the following code: package guest; import java .io.Serializable; import java .sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue

Step 4: Add a Servlet Class

; New Other... Web Servlet and clicking  Next . The Java package name should be guest. Enter ... guest; import java .io.IOException; import javax.ejb.EJB; import javax.servlet.ServletException

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Java Class ... Enter GuestController as the class name - use exactly that case sensitive class

Step 2: Entity Class and Persistence Unit

to replace the new source file content with the following code: package guest; import java .io.Serializable; import java .sql.Date; import javax.persistence.Entity; import javax.persistence

Step 1: Create a Maven Web Project

Name (e.g. Guestbook ) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring ... -classes                java   

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right ... replace the content of the new source file with the following code: package guest; import java .util

Step 7: Run the Spring Web App

automatic enhancement (weaving) in Tomcat it has to be run with ObjectDB as a Java agent ... without specifying a Java agent. Since we are using ObjectDB in embedded mode - the database file

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

JPA Web App Tutorial - Maven Project

The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java /JPA database driven web application (for Tomcat / Jetty) in  Eclipse or  NetBeans ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA ... databases and it is probably the most popular Java API for object databases today.

ObjectDB 1.0 Manual

Welcome to the ObjectDB for Java /JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO ( Java Data Objects), the revolutionary database programming ... and understanding of the Java language is essential. Further Reading and Resources This guide focuses mainly

[ODB1] Chapter 5 - JDO Connections

a PersistenceManagerFactory The following code demonstrates how to obtain a PersistenceManagerFactory instance: import java ... a class in the same directory using: import java .io; import java .util.Properties; import javax.jdo