Internal Website Search

1-50 of 200 results

Entity Management Settings

are handled. ObjectDB can manage non enhanced classes by using reflection at the cost of performance ... that is managed by the EntityManagerFactory and shared by all its EntityManager instances. The level 2 cache

Database Management Settings

of the two cache mechanisms that ObjectDB manages for queries: The results attribute specifies the size

Retrieving JPA Entity Objects

is then added to the persistence context as a managed entity object and returned to the application. Notice that construction of a new managed object during retrieval uses the no-arg constructor ... if the specified class is not an entity class. If the EntityManager already manages the specified entity

Working with JPA Entity Objects

), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA ... : New, Managed , Removed and Detached. When an entity object is initially created its state is New ... the database. An entity object becomes Managed when it is persisted to the database

SELECT clause (JPQL / Criteria API)

The ability to retrieve managed entity objects is a major advantage of JPQL. For example, the following query returns Country objects that become managed by the EntityManager em : TypedQuery query ... (); Because the results are managed entity objects they have all the support that JPA provides

Detached Entity Objects

Detached entity objects are objects in a special state in which they are not managed by any EntityManager but still represent objects in the database. Compared to managed entity objects, detached ... the database unless modified detached objects are merged back into an EntityManager to become managed

JPA Metamodel API

details on managed  classes and persistent fields and properties, similarly to the ability ... types  (which are referred to as managed types) in the persistent object model. Three methods can be used to retrieve sets of types: // Get all the managed classes: // (entity classes

Database Replication and Clustering

, the same database is managed on multiple machines (nodes), possibly in different geographic locations ... master-slave replication, the master node manages the main (master) database, which supports Read / Write operations. The other (slave) nodes in the cluster manage identical copies of the same database

Shared (L2) Entity Cache

that it manages . The persistence context serves as a first level cache. An attempt to retrieve an entity object that is already managed by the  EntityManager returns the existing instance from ... objects, which is managed by the EntityManagerFactory and shared by all its EntityManager objects

Updating JPA Entity Objects

. If global cascade persist is enabled all the reachable entity objects that are not managed yet are also persisted. Automatic Change Tracking As shown above, an update is achieved by modifying a managed ... to managed entities automatically. One way to detect changes is to keep a snapshot of every managed object

ObjectDB Object Database Features

can manage databases of various sizes efficiently, ranging from kilobytes to terabytes . Platform ... competing products . Connection Pooling Automatic connection pool managed by EntityManagerFactory ... other competing product. Simplicity Database is a single file - easier to back up, transfer and manage

JPA Persistence Unit

specify JAR files that should be searched for managed persistable classes. The class elements specify names of managed persistable classes (see below). The property elements specify general ... can be found in the JPA and JDO specifications and books. Managed Persistable Classes JPA requires

ObjectDB Overview

The ObjectDB Object Database ObjectDB is a powerful Object-Oriented Database Management ... all the standard database management services (storage and retrieval, transactions, lock management , query ... Database Key Features 100% pure Java Object-Oriented Database Management System (ODBMS). No proprietary

What is ObjectDB?

ObjectDB is an Object Oriented Database Management System (ODBMS). It provides all the standard database management services (storage and retrieval, transactions, lock management , query processing, etc.), but it uses an object oriented model to store and manage data. You can easily store ordinary

Database Connection using JPA

. An EntityManagerFactory is constructed for a specific database, and by managing resources efficiently (e.g ... the content of a database require active transactions. Transactions are managed by an EntityTransaction ... ) must be performed within an active transaction. The EntityTransaction interface represents and manages database

JPA Entity Fields

. In this case, two unidirectional and unrelated relationships are managed by the Employee ... may improve efficiency when managing very large collections that are changed ... because a version field is inherited by subclasses. Unlike ORM JPA providers, ObjectDB always manages

JPA Named Queries

that JPA requires the listing of managed classes in a persistence unit definition is to support named ... . Therefore, to be able to always locate any named query at runtime a list of all these managed persistable ... are automatically searched for in all the managed classes that ObjectDB is aware

Database Server

ObjectDB Server is a tool that manages ObjectDB databases in a separate dedicated process, making ... the Server on Unix On Unix you can use a shell script to run and manage the server. A sample script, server ... menu to manage the server (stop, restart and start), and to exit the server application.

Database Explorer

ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used ... . Saving Changes The Explorer manages an active transaction for every open database file ... representation, you have to set that encoding to manage these strings in the Explorer. This setting is relevant

Apache License, Version 2.0, January 2004

the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty ... , and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose

Storing JPA Entity Objects

its state to Managed . The new entity object is stored in the database when the transaction ... managed by the EntityManager ) or by commit . Referenced Embedded Objects The following code stores

ObjectDB License Agreement [ver. 2.0.4]

the ObjectDB Database Management System software ("The Software"), subject to the terms and provisions ... Management System Software by itself. The Product shall only be distributed with a license agreement

Index Definition

. Index management introduces overhead in terms of maintenance time and storage space, so deciding ... firstName; String lastName; Address address; : } Indexes in Queries ObjectDB manages a BTree

JPA Queries

a TypedQuery or a Query instance. Building a dynamic query using the criteria API is managed by the  CriteriaQuery interface: As noted above, eventually every criteria query is managed by an ordinary

JPA Class Enhancer

.MyEmbeddable 2 NON persistable types have been enhanced: Main test. Manager You can also specify names ... with the name of a persistence unit to enhance all the managed classes that are defined in

ObjectDB License

databases are managed , but using ObjectDB on client machines merely to access remote ObjectDB ... applications that use ObjectDB are developed and managed only by employees in that workplace. Purchase

Privacy Policy

of our Service. To manage Your Account  as a user of the Service. The Personal Data You provide ... not to receive such information. To manage Your requests to Us. For business transfers:  

Can I use ObjectDB to access a relational database?

standalone Object Database Management System (ODBMS) and not an ORM tool, so it is not intended and cannot be used to access other database management systems.

javax.jdo.spi.JDOPermission.CLOSE_PERSISTENCE_MANAGER_FACTORY

JDO Static Field in javax.jdo.spi.JDOPermission CLOSE_PERSISTENCE_ MANAGER _FACTORY An instance of JDOPermission to be used for closePersistenceManagerFactory permission checking. Since: JDO 1.0

javax.jdo.spi.JDOPermission.SET_STATE_MANAGER

JDO Static Field in javax.jdo.spi.JDOPermission SET_STATE_ MANAGER An instance of JDOPermission to be used for setStateManager permission checking. Since: JDO 1.0

javax.jdo.spi.JDOPermission.MANAGE_METADATA

JDO Static Field in javax.jdo.spi.JDOPermission MANAGE _METADATA An instance of JDOPermission to be used for manageMetadata permission checking. Since: JDO 1.0

[ODB1] Chapter 9 - ObjectDB Explorer

ObjectDB Explorer is a visual tool for managing ObjectDB databases. You can use the Explorer ... a basic file manager . Using the toolbar and the context menus of this dialog box (right click ... . Similarly, in the server edition you can manage a remote server file system using "File | Open

[ODB1] Chapter 5 - JDO Connections

that every connection consumes. Database connections are managed in JDO by the javax.jdo ... to the database is obtained. To improve efficiency, a PersistenceManagerFactory instance may manage ... management is transparent. The functionality of PersistenceManager instances returned by

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server ... the Server on Unix On Unix you can also use a shell script to run and manage the server. A sample ... the Windows Tray. Right click the icon and use the context popup menu to manage the server (stop

Eclipse/JPA Spring MVC Web Tutorial

Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish) and Maven. The demo web application manages ... that have already signed are listed below the form: Persistence is managed by JPA. Every visitor

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 ... that have already signed are listed below the form: Persistence is managed by JPA. Every visitor

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 [Package Explorer] window ... ); } } The GuestController class is defined as a Spring managed web controller using the @Controller annotation

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

Java EE Web Tutorial

) see the JPA Web App Tutorial . The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook

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

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 ... a Spring managed web controller using the @Controller annotation. A GuestDao component

Eclipse/JPA Java EE Tutorial

GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented

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 object

JPA Web Application Tutorial

This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented

NetBeans/JPA Java EE Tutorial

NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page ... that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed

[ODB1] Chapter 6 - Persistent Objects

This chapter describes how to use ObjectDB to manage database objects. 6.1  Making ... types. Therefore, a JDO portable application should manage Object IDs using java.lang.Object references ... a persistent object representing that database object. Every PersistenceManager instance manages a cache

[ODB1] Chapter 4 - JDO Metadata

) By default, JDO manages an extent for every persistent class. An extent enables iteration ... in terms of time and storage space. When extent management is not needed, it can be omitted by ... field descriptions can often be omitted. In most cases, the default management of fields by ObjectDB

[ODB1] Chapter 2 - A Quick Tour

;Hello World The HelloWorld sample program manages a list of strings in the database. Each time ... of a single source file, HelloWorld.java , containing a single class: 1 // A simple program that manages ... .3  Storing and Retrieving Objects The JDO Person sample manages a collection of Person

[ODB1] Chapter 1 - About ObjectDB

ObjectDB for Java/JDO is a powerful Object Database Management System (ODBMS) written entirely in ... . Whereas, working with a Relational Database Management Systems (RDBMS) is difficult because developers must deal ... , because the database server manages an automatic lock mechanism. Embedded Mode In embedded mode

[ODB1] Chapter 7 - JDOQL Queries

class. In such cases, if an Extent is not managed for the candidate class, the query is not valid ... .Collection instance and managed like any ordinary Java collection. For example, the number of retrieved