ObjectDB Database Search

1-50 of 200 results

Managing JPA Entities

) that represent physical objects in the database. Managing an ObjectDB database with JPA requires using entities ... . Entities life cycle The entity life cycle consists of four states: New, Managed , Removed, and Detached ... with an EntityManager and has no representation in the database. An entity becomes Managed

Entity Management Settings

attribute specifies how non-enhanced classes are handled. ObjectDB can manage non-enhanced classes by ... attribute specifies the size of the shared level-2 cache that is managed by

Database Management Settings

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

Retrieving JPA Entities

the Level 2 (L2) cache, if enabled. JPA then adds the new entity to the persistence context as a managed entity and returns it to the application. The construction of a new managed object during retrieval ... class is not an entity class. If the EntityManager already manages the specified entity in

SELECT clause (JPQL / Criteria API)

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

jakarta.persistence.EntityManager

must be obtained from an EntityManagerFactory , and is only able to manage persistence of entities belonging to the associated persistence unit. An application- managed EntityManager may be created ... almost complete responsibility for cleanup and exception management on the client

Detached JPA Entities

Detached entities are objects in a special state where they are not managed by an EntityManager but still represent objects in the database. Compared to managed entities, detached objects ... to the database unless you merge them back into an EntityManager , which makes them managed again. Detached

JPA Metamodel API

about managed classes, persistent fields, and properties, similar to how Java reflection provides ... -defined persistable types (also known as managed types) in the persistent object model. Three methods retrieve sets of types: // Get all the managed classes: // (entity classes, embeddable classes, mapped

Database Replication and Clustering

database is managed on multiple computers, or nodes, which can be in different geographic locations ... . In a master-slave replication model, the master node manages the primary database, which supports both read and write operations. The other nodes in the cluster, known as slave nodes, manage identical

JPA Core Types

engine and performing CRUD operations in ObjectDB. These interfaces and classes manage the entity ... Lifecycle Management Manage database connections and entity lifecycles with these interfaces ... , and managing the persistence context. Because it is not thread-safe, you should use a separate instance

JPA Persistence Unit

useful for microservices, dynamic environments, or applications where configuration is managed by ... ;PersistenceConfiguration allows you to: Define Managed Classes:  Explicitly add entity ... the mapping files, as explained below. The jar-file elements specify JAR files to search for managed

JPA Metamodel Types

, corresponding to the subinterfaces below. Managed and identifiable types Complex types that manage ... , mapped superclasses, and embeddables, representing any type that manages attributes. A managed type ... inherited by entities but not being entities themselves. Represents an @Embeddable type, a managed type

JPA Shared (L2) Entity Cache

that it manages . The persistence context serves as a first-level cache. Retrieving an entity that the EntityManager already manages returns the existing instance from the persistence context, not a newly ... a second-level (L2) cache of entities, which is managed by the EntityManagerFactory and shared by

ObjectDB Object Database Features

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

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 ... Features 100% pure Java Object-Oriented Database Management System (ODBMS). No proprietary API

jakarta.persistence.metamodel.IdentifiableType

of the managed type that corresponds to the specified name. Inherited from ManagedType Parameters ... : IllegalArgumentException - if attribute of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from

jakarta.persistence.metamodel.EntityType

Methods Attribute getAttribute ( String name ) Return the attribute of the managed type ... of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes

jakarta.persistence.metamodel.ManagedType

Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds ... the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.EmbeddableType

Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds ... is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed

jakarta.persistence.metamodel.MappedSuperclassType

the attribute of the managed type that corresponds to the specified name. Inherited from ManagedType ... : IllegalArgumentException - if attribute of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited

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

JPA Connections and Transactions

for a specific database. It manages resources efficiently (for example, a pool of sockets ... transactions. Transactions are managed by an EntityTransaction instance, which is obtained from ... . The EntityTransaction interface represents and manages database transactions. Each EntityManager

jakarta.persistence.EntityManagerFactory

-local transactions are managed programmatically via the EntityTransaction interface. An EntityManagerFactory with a lifecycle managed by the application may be created using the static operations of the Persistence class: if the persistence unit is defined in persistence.xml , an entity manager

jakarta.persistence.Subgraph

that corresponds to a managed type. Using this class, an entity subgraph can be embedded ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1.0 void addAttributeNodes ... that is a managed type. This allows for construction of multi-node entity graphs that include

jakarta.persistence.Graph

. IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence ... to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters: attribute - attribute Returns: subgraph for the element

jakarta.persistence.EntityGraph

. IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 ... that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include related managed types. Inherited from Graph Parameters: attribute - attribute

JPA Entity Fields

that case, the Employee and Department classes manage two unidirectional, unrelated relationships ... when you manage very large collections that change often. This is because a change in the inverse ... JPA providers, ObjectDB always manages versions for entities, regardless of whether a version field

JPA Named Queries

requires you to list managed classes in a persistence unit definition is to support named queries. Named queries can be attached to any entity class or mapped superclass. Therefore, a list of all managed ... all the managed classes that it is aware of, which includes all entity classes that have objects in

JPA Container Injection Annotations

Jakarta Persistence (JPA) provides standard annotations to manage dependencies on container- managed persistence resources in both Jakarta EE and Spring Framework environments. They enable ... using the following annotations: Expresses a dependency on a container- managed EntityManager , injecting

Updating JPA Entities

that are not yet managed are also persisted. Automatic change tracking As shown previously, you update ... detect changes to managed entities. One detection method is to save a snapshot of each managed object

Database Server

The ObjectDB Server is a tool that manages ObjectDB databases in a separate, dedicated process ... to run and manage the server. A sample script, server.sh , is included in the bin directory. To use ... the icon and use the context menu to manage the server (stop, restart, and start) or to exit the server application.

Database Explorer

The ObjectDB Database Explorer is a GUI tool for managing ObjectDB databases. You can use ... manages an active transaction for each open database file. All editing operations ... representation, you must set that encoding to manage these strings in the Explorer. This setting affects

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 Entities

, and changes its state to Managed . The new entity is stored in the database when the transaction ... . The exception is thrown either by persist , if the existing entity is currently managed by

ObjectDB License Agreement [ver. 2.0.4]

the ObjectDB Database Management System software ("The Software"), subject to the terms and provisions ... and only as part of the Customer's product ("The Product"). The Product is not a Database Management

Index Definition

. However, index management introduces overhead in maintenance time and storage space. Therefore, you should choose ... lastName; Address address; : } Indexes in queries ObjectDB manages a B-tree for every index. A B-tree

JPA Metamodel Attributes

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable ... access. Represents an attribute typed as a java.util.Map , managing both keys and values

JPA Class Enhancer

. Manager You can also specify the names of classes that can be located on the classpath by using ... to enhance all the managed classes that are defined in that persistence unit: $ java com.objectdb

ObjectDB License

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

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:  

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

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