ObjectDB Database Search
1-50 of 200 resultsChapter 6 - Configuration The ObjectDB configuration file contains one root element with seven child elements: ... ... ... ... ... ... ... Each of these seven configuration elements is explained in a separate section: The configuration path By default, the configuration file is loaded from $objectdb/objectdb.conf | |
JPA Runtime Tuning & Configuration Most Jakarta Persistence configuration is static, defined through annotations (e.g., @Entity ... operation. Configuration scope hierarchy For non-static configuration (i.e., settings not expressed ... of a corresponding option interface: Each configuration setting implements the relevant option | |
Server Configuration The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default configuration file contains the following element: The element The element specifies how clients can connect | |
SSL Configuration The configuration element specifies Secure Sockets Layer (SSL) settings for secure client-server communication. The default configuration file contains the following element: The enabled attribute ... keystore can be different from the server keystore. Setting the Configuration To use SSL, the enabled | |
Programatic configuration or configuration file loaded from classpath or file Hi! I found information about the configuration of ObjectDB: https://www.objectdb.com/java/jpa/setting . However, I have a dynamic environment and don't want to place the configuration file in ... .objectdb.com/java/jpa/setting/entities#The_cache_element a) Is it possible to configure this  | |
JPA Core Types and inheritance relationships. Jakarta Persistence (JPA) 3.2 Core Types Bootstrapping and Configuration Initialize the persistence context and configure the engine using these classes: The primary bootstrap class ... your ObjectDB database. An alternative bootstrap class that offers a programmatic API for configuration | |
JPA Relationships Annotations of references to other entities. Jakarta Persistence (JPA) provides annotations to configure ... to configure specific cascade behaviors and fetch policies. Configuration enums Configure ... whether related data is loaded immediately ( EAGER ) or on-demand ( LAZY ). Collection configuration Configure | |
JPA Annotations engine manages objects and their database mappings. These annotations configure entity behavior ... Use class-level annotations to define persistent types and configure class-level behavior: Define classes as entities, embeddables, or mapped superclasses while configuring caching and listener | |
Schema Update The configuration element supports renaming packages, classes, and fields in ObjectDB databases ... refactoring. You specify only these schema changes in the configuration file. As explained in ... classes that have been renamed or moved in the IDE without a matching schema configuration , ObjectDB | |
JPA Persistence Unit is optional when using ObjectDB but required by JPA. Programmatic configuration ... useful for microservices, dynamic environments, or applications where configuration is managed by the environment rather than static files. The following example demonstrates how to configure a persistence | |
Database Server] start | stop | restart options include: -conf : specify a configuration file explicitly -port : override configuration's server port -silent : avoid printing messages to the standard output -console ... : $ java com.objectdb.Server start The server configuration is loaded automatically, as explained in | |
Database Management Settings The configuration element specifies back-end (database engine) settings for the server and for embedded mode. The default configuration file contains the following element: The element The element ... multiple elements in the same configuration . This allows the same configuration file, with multiple | |
JPA Class Enhancer can be integrated into the build process. The following Maven configuration uses the exec-maven-plugin ... : Window Preferences Java Installed JREs Edit Default VM Arguments Or for a specific run configuration in: Run Configurations … Arguments VM arguments In NetBeans, JVM arguments can be set in the project | |
JPA Container Injection Annotations such as services and DAOs. EntityManager injection Inject an EntityManager and configure its scope ... . Configuration Properties Define vendor-specific properties or configuration overrides: Used within @PersistenceContext or @PersistenceUnit to specify configuration properties for the injected resource. | |
JPA Shared (L2) Entity Cache, even across different client computers. Setting the shared cache You can configure the shared (L2) cache at three levels: 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 | |
ObjectDB Object Database Features. Configurable - minimum/maximum connections and timeout. Caching L1 entity cache (per EntityManager). L2 shared ... . Configurable JPA eager/lazy fetch and JPA query FETCH JOIN . Configurable JDO fetch groups . Ease ... JAR (including JPA/JDO) - no external dependencies. Simple (codeless) configuration using XML | |
Database Explorer for the next editing session. Options and settings You can configure the Explorer's settings in the Options ... is initially empty. Therefore, unless you configure it, persistent objects are presented in the Tree viewer with an empty field summary ( {} ). To configure a view for a class, first select | |
Database Replication and Clustering. This configuration helps achieve high availability, fault tolerance, and prompt disaster recovery ... with the appropriate elements in its configuration file: The url attribute of the element specifies ... server. Connecting to the database cluster The configuration example shows a master database managed | |
JPA Attributes Annotations, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior ... , wrappers, Strings). While optional for supported types, it allows configuration of fetch strategies ... to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used | |
JPA Components Annotations You can use Jakarta Persistence (JPA) annotations to mark classes as persistent and to configure ... ). Use these annotations to configure the access type: Sets the access type (FIELD or PROPERTY ... and PROPERTY access. Entity and mapped superclass instances can also be configured for second-level | |
General Settings and Logging The configuration element specifies ObjectDB settings that are relevant to both the server and the client. The default configuration file contains the following element: The element To meet memory ... The elements specify logging levels. The * logger , as shown in the default configuration | |
jakarta.persistence.PersistenceConfiguration ∟ jakarta.persistence.PersistenceConfiguration Represents a configuration of a persistence unit, allowing programmatic creation of an EntityManagerFactory . The configuration options available ... to configure a container-managed persistence unit. That is, the configured persistence unit | |
Database Transaction Replayer ObjectDB can record its internal engine operations in special binary recording files (journal files). Recording is disabled by default and can be enabled in the configuration . The ObjectDB Replayer ... by setting the path attribute in the configuration . The recording directory contains two types | |
JPA Extended API Reference Guide, query facilities, metamodel details, configuration options, annotations, and exception information ... configuration options for common JPA operations. Details the annotations used to define the persistent object | |
JPA Value Generation Annotations Jakarta Persistence (JPA) supports automatic value generation. This feature is primarily useful for primary key fields, but ObjectDB extends support to regular persistent fields. Several annotations control automatic value generation. Generation configuration Configure field-level generation | |
Database Schema Evolution these changes explicitly in the configuration to avoid data loss. The Schema Update section in Chapter 6 explains how to specify these changes in the configuration file. | |
Entity Management Settings The configuration element specifies client-side and embedded-mode settings . The default configuration file contains the following element: The element The element specifies enhancement-related settings: The agent attribute (with a value of "true" or "false" ) specifies whether to load | |
Server User List The configuration element lists the users who are allowed to access the ObjectDB Server and specifies their settings (username, password, permissions, and quota). The default configuration file contains the following element: The elements ... ... Each user is represented by a single element | |
Managing JPA Entities and other caches, as explained in the Configuration chapter. By default, managed entities that have not ... can discard it, and it is automatically removed from the persistence context. ObjectDB can be configured | |
JPA Listeners & Callbacks Annotations a listener class. Listeners configuration Entity Entities and mapped superclasses can be further configured with annotations that specify lifecycle event listeners. Specifies one or more callback | |
Apache License, Version 2.0, January 2004 to software source code, documentation source, and configuration files. "Object" form shall mean any form | |
Storing JPA Entities. You can do this either by setting the ObjectDB configuration or, in a JPA-portable way, by specifying the cascade-persist | |
ObjectDB 2.9 Developer's Guide, etc. Describes the ObjectDB configuration and explains how to tune ObjectDB. Prerequisite Knowledge | |
JPA Connections and Transactions represent temporary databases that can be dropped, but this behavior can be configured | |
JPA ORM Mapping Annotations the mapping for an EmbeddedId primary key or a simple parent key. Collection and map specifics Configure | |
Updating JPA Entities by invoking the JDO makeDirty method. Alternatively, you can configure ObjectDB to detect array | |
jakarta.persistence.Persistence of the persistence unit Returns: the factory that creates EntityManager s configured according ... override any values that may have been configured elsewhere. Returns: the factory that creates EntityManager s configured according to the specified persistence unit. Since: Jakarta Persistence (JPA) 1.0 | |
Spring MVC JPA Tutorial - IntelliJ Project has to be downloaded separately). Define Run Configuration : Select Run Edit Configurations ... OK . Click OK again to close the Configurations dialog box. Run the project in IntelliJ IDEA: Select the new run configuration at the toolbar and click the green run icon (or Shift | |
Step 6: Set the Spring XML of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under src/main/webapp/WEB-INF) in a text ... to the Spring dispatcher servlet. Additional spring configuration is set in another XML file | |
Step 6: Set the Spring XML of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under Web Pages WEB-INF) in a text editor (by right ... configuration is set in another XML file (whose name is derived from the name of the Spring dispatcher | |
JPA Web App Tutorial - IntelliJ Project has to be downloaded separately). Define Run Configuration : Select Run Edit Configurations , click the + icon ... the Configurations dialog box. Run the project in IntelliJ IDEA: Select the new run configuration | |
Java EE 6 JPA Tutorial - IntelliJ Project Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration : Select Run Edit Configurations , click the + icon and select Tomcat Server Local ... ; + Artifact... Guestbook:war and click OK . Click OK again to close the Configurations | |
Step 2: Entity Class and Persistence Unit with a default persistence unit (that will be configured later). If the Finish button is disabled ... to the project (under Configuration Files). Open the persistence.xml file in a text editor (by right | |
Step 5: Add a JSP Page the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration . | |
Step 2: Entity Class and Persistence Unit + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting | |
Step 1: Create a Maven Web Project. 1.0 ) and Package ( guest ), and click Finish to create the project. The configuration | |
Step 1: Create a Maven Web Project the project. The configuration of the new created project is contained in a pom.xml file that was created | |
Step 2: Entity Class and Persistence Unit + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA | |
Step 2: Entity Class and Persistence Unit file with a default persistence unit (that will be configured later). If the Finish button is disabled | |
Step 5: Add a JSP Page). The next step (and the last in this tutorial) is setting the Spring XML configuration . |