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 ... ) standards, since ObjectDB is the first object oriented database with built in support of JPA and JDO

Setting and Tuning of JPA Queries

implementations, the default is AUTO . In ObjectDB , the default is COMMIT , which is more efficient ... ) ObjectDB uses automatic optimistic locking to prevent concurrent changes to entities by multiple users ... additional settings to queries by using hints. Supported query hints ObjectDB supports the following

JPA Optimistic and Pessimistic Locking

ObjectDB each entity is locked separately, there is no table locking. Optimistic locking is applied at transaction commit. ObjectDB checks any database object that is being updated or deleted ... . When you use ObjectDB , optimistic locking is enabled by default and is fully automatic. Optimistic

Database Explorer

The ObjectDB Database Explorer is a GUI tool for managing ObjectDB databases. You can use ... The ObjectDB Explorer is packaged in the explorer.jar executable file, which is located in the bin directory of your ObjectDB installation. It depends on the objectdb .jar file. You can run it from the command

Server Configuration

The configuration element specifies settings for running an ObjectDB Server . The server ... of connections. The element The element has one attribute, path , which specifies the location of ObjectDB databases that the server manages. The $ objectdb prefix, if specified, represents the ObjectDB home

Index Definition

where different entities have the same value in a unique field, ObjectDB throws a PersistenceException ... . The optional name attribute has no specific function but might appear in the ObjectDB Explorer and in log ... lastName; Address address; : } Indexes in queries ObjectDB manages a B-tree for every index. A B-tree

JPA Named Queries

of using the @NamedQuery annotation. ObjectDB supports JPA XML mapping files, including the definition ... ) JPA providers and less so for ObjectDB , this manual does not cover that alternative. Using Named ... persistable classes must be available at runtime to locate any named query. ObjectDB makes

Schema Update

The configuration element supports renaming packages, classes, and fields in ObjectDB databases ... Chapter 2 , ObjectDB handles other schema changes automatically. Note: Use extreme caution ... classes that have been renamed or moved in the IDE without a matching schema configuration, ObjectDB

JPA Primary Key

, ObjectDB supports implicit object IDs, so an explicit primary key is not required. However, ObjectDB ... , ObjectDB automatically sets the primary key for every new entity. The key is a sequential 64-bit number ... . When a primary key field is defined, ObjectDB automatically injects the primary key value into that field

Logical Operators in JPQL and Criteria API

complex expressions. Logical operators ObjectDB supports two sets of logical operators, as shown in ... , while Java uses its own notation, which is also used by the JDO Query Language (JDOQL). ObjectDB ... . As part of its JDO support, ObjectDB also supports the Java/JDO && operator as a synonym

What's next?

This chapter introduced the basic principles of JPA with ObjectDB . For more details, see the other chapters in this manual. To start using ObjectDB immediately, follow one of the tutorials ... program. You can start your own ObjectDB /JPA projects by modifying this example program

JPA Shared (L2) Entity Cache

and the EntityManagerFactory 's L2 cache, which are managed on the client side, ObjectDB also manages ... : Globally in the ObjectDB configuration. Per persistence unit in the persistence.xml file. Per entity class, using annotations. ObjectDB Configuration The shared cache size is specified in

Entity Management Settings

attribute specifies how non-enhanced classes are handled. ObjectDB can manage non-enhanced classes by ... represent different policies: "error" - All persistable classes must be enhanced; otherwise, ObjectDB throws an exception. "warning" - ObjectDB logs a warning for every non-enhanced class. "ignore

SSL Configuration

the example, SSL is disabled by default. Enable SSL when accessing remote ObjectDB databases ... must also authenticate the client. Connecting using SSL Connecting to an SSL-enabled ObjectDB server requires specifying the " objectdbs "  protocol (instead of the standard " objectdb " protocol) in

Privacy Policy

", "We", "Us" or "Our" in this Agreement) refers to ObjectDB Software Ltd, 109 Vernon House Friar Lane Unit 632 ... visit and user actions during page views). Website  refers to ObjectDB Website, accessible from  https://www. objectdb .com You  means the individual accessing or using the Service, or

JPA Core Types

engine and performing CRUD operations in ObjectDB . These interfaces and classes manage the entity ... your ObjectDB database. An alternative bootstrap class that offers a programmatic API for configuration ... this once during application initialization for each persistence unit (typically for each ObjectDB database

Defining a JPA Entity Class

and retrieve Point objects from the database: package com. objectdb .tutorial; import jakarta ... an object database, ObjectDB supports implicit object IDs, so an explicit primary key is not required. However, ObjectDB also supports explicit JPA primary keys , including composite primary keys

Database Schema Evolution

(their schema) are transparent to ObjectDB . This includes adding, removing, or modifying constructors, methods, and non-persistent fields. However, ObjectDB detects additions, deletions, and modifications ... : In client-server mode, the ObjectDB server must be restarted after a schema change. Automatic

Posting Sample Code

by ObjectDB - posting the full stack trace with no sample program (using the Issue Tracking ... method (preferred over JUnit). Use embedded mode to connect to the ObjectDB database directly ... ;   " objectdb :$ objectdb /db/test.tmp;drop");        

Chapter 1 - Quick Tour

This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program ... ObjectDB databases and perform basic CRUD (Create, Retrieve, Update, and Delete) operations ... instructions on how to start using JPA in your IDE with the ObjectDB object database. Because ObjectDB

Auto Generated Values

is automatically generated. This annotation is primarily for primary key fields, but ObjectDB also supports ... strategies. The AUTO strategy ObjectDB maintains a global number generator for each database ... this strategy. ObjectDB does not have tables, so the TABLE and SEQUENCE strategies are almost identical

Retrieving JPA Entities

the field from cascaded retrieval. ( ObjectDB currently does not distinguish between these two annotations ... or @ManyToMany annotation enables cascaded retrieval for the field. ( ObjectDB currently does not ... object graph is in memory. This illusion, based on ObjectDB's lazy, transparent activation

What is the Java Persistence API (JPA)?

(as classes and objects). ObjectDB is the only database management system with built in support of the Java Persistence API (JPA). By interacting with ObjectDB using standard JPA you can keep your application portable. The unique benefit of using ObjectDB is that the overhead of an intermediate ORM

JPA Metamodel API

(an optional step when using ObjectDB ), these methods return only known managed types. This includes ... yet known to ObjectDB (for example, types that are not listed in the persistence unit and have not been persisted). In this case, calling one of these methods introduces the specified type to ObjectDB

Step 7: Run the Spring Web App

the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA . Since we are using ObjectDB ... server and open the database file in ObjectDB Explorer : To enable on the fly enhancement (weaving ... and select Properties. In the Platform tab in VM Options enter:- -javaagent:C:\ objectdb \bin

Step 1: Create a Java Project

) and click Next . In the Libraries tab, click Add External JARs... and select the objectdb .jar file from the bin subdirectory of the ObjectDB installation directory: Click Finish to create the project ... with ObjectDB /JPA support. ObjectDB /JPA can also be added to existing projects, by adding

Step 4: Run the Application

, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation ... 1,000 objects. You can view the content of the database file by opening it in the ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 1: Create a Java Project

the project. To add ObjectDB /JPA support for the project: Right click the Libraries folder in the [Projects] window and select Add Jar/Folder... Select the objectdb .jar file from the bin subdirectory of the ObjectDB installation directory and click Open . Now you should have a new NetBeans project

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 ... ; ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the  Manual .

Step 4: Run the Application

) When you run the application for the first time, a new ObjectDB database file is generated in the db sub-directory under the ObjectDB installation directory. Consequent runs of the application will use ... by opening it in the ObjectDB Explorer : This is the end of the Eclipse JPA tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Eclipse/JPA Java EE Tutorial

GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor ... by a Guest entity and all the Guest entities are stored in an ObjectDB database. Required Software ... for Java EE Developers. GlassFish Server 3.0.1 (or above). The last version of ObjectDB (just download

NetBeans/JPA Java EE Tutorial

NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page ... the guestbook is represented by a Guest entity and all the Guest entities are stored in an ObjectDB database ... above). NetBeans - Java or All bundle The last version of ObjectDB (just download and extract). The tutorial

Step 1: Create a Java EE Web Project

required). To add ObjectDB /JPA support for the project: Right click the Libraries folder in the [Projects] window and select Add Jar/Folder... Select the objectdb .jar file from the bin subdirectory of the ObjectDB installation directory and click Open . Now you should have a NetBeans Java EE 6 Web

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... definition in an XML file is missing. This is discussed in the ObjectDB Manual . But nevertheless, this class is a valid ObjectDB entity class, despite the warning. The next step is adding a context

Step 1: Create a Web Project

ObjectDB /JPA support for the project: Right click the Libraries folder in the [Projects] window and select Add Jar/Folder... Select the objectdb .jar file from the bin subdirectory of the ObjectDB ... with ObjectDB /JPA support. The next step is creating a JPA Entity class .

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... to the persistence.xml file: com. objectdb .jpa.Provider Now ObjectDB should be used as a JPA provider

Eclipse/JPA Spring MVC Web Tutorial

Eclipse - using ObjectDB , JPA, Tomcat (or GlassFish) and Maven. The demo web application manages ... are stored in an ObjectDB database. Required Software For this tutorial you will need the following ... . Therefore, required JAR files ( ObjectDB , Spring Framework) will be downloaded automatically during build

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... indicates that a persistence unit definition in an XML file is missing. This is discussed in the ObjectDB Manual . But nevertheless, this class is a valid ObjectDB entity class, despite the warning

Step 3: Add a Context Listener Class

The Guest entities will be stored in an ObjectDB database, which will be represented by a JPA's ... the EntityManagerFactory & Enhance: public void contextInitialized(ServletContextEvent e) { com. objectdb .Enhancer.enhance("guest.*"); EntityManagerFactory emf = Persistence.createEntityManagerFactory("$ objectdb

NetBeans/JPA Web Application Tutorial

Server 6.0 ( some modifications are needed for Tomcat 7.0 ), ObjectDB and JPA. The demo web ... entities are stored in an ObjectDB database. Required Software For this tutorial you will need the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version of ObjectDB

Step 1: Create a Java EE 6 Web Project

dynamic web project. To add ObjectDB /JPA support to the project, drag the objectdb .jar file from ... : You should now have an Eclipse Java EE 6 project with ObjectDB /JPA support. The next step is creating a JPA Entity class .

Step 6: Run the Java EE 6 Application

] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... \Guestbook\WEB-INF ). You can stop the GlassFish server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... with the following new content: com. objectdb .jpa.Provider Now ObjectDB should be used as a JPA provider

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

NetBeans/JPA Spring MVC Web Tutorial

NetBeans - using JPA, ObjectDB , Tomcat (or GlassFish) and Maven. The demo web application ... are stored in an ObjectDB database. Required Software For this tutorial you will need the following ... . Therefore, required JAR files ( ObjectDB , Spring Framework) will be downloaded automatically

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click ... and paste to copy the following content to the  persistence.xml file: com. objectdb .jpa.Provider Now ObjectDB should be used as a JPA provider with the specified database url. The next step

Eclipse/JPA Web Application Tutorial

;to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA ... and all the Guest entities are stored in an ObjectDB database. Required Software For this tutorial ... Tomcat Server 6.0 ( some modifications are needed for Tomcat 7.0 ). The last version of ObjectDB

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... file with the following new content: com. objectdb .jpa.Provider guest.Guest Now ObjectDB should be used

Step 6: Run the Java EE 6 Application

execution URI). Since we are using ObjectDB in embedded mode - the database file is created ... server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Web Application

). Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .