ObjectDB Database Search

1-50 of 200 results

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

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 

WebSphere Liberty Configuration

Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been able ... get a combination of errors depending on how I tweak the configuration the most promising error I ... the classpath? If you have other error messages (from other configurations ) please post them. support

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd ... the ObjectDB configuration , it must be placed in an objectdb.conf file. But you can also replace the  ... something like this... @ Configuration @PropertySources( value = { @PropertySource("classpath:properties

Cache configuration of database file pages, query programs, query results

Are there some possibilities to configure following caches in order to keep cache data for only some important entity types and for the entire life cycle of the EntityManagerFactory. Cache of database file pages. Cache of query programs. Cache of query execution results. btc_es BTC EmbeddedSystems

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I tried to configure my objectdb.conf to give 256KB disk accesses and use PersistenceManager L1 ref=soft caching and datastore

best practice for configuration settings

questions regarding the configuration entry: ... ... max-threads we have 16 processor cores and around 400 clients communicating to our core process, each accessing objectdb. What is the best setting ? synchronized there is no documentation about this setting, what does it do/mean ? hgzwicker Hans

Query debugging configuration from class

Query debugging configuration from class

JPA Configuration without persistance.xml

JPA Configuration without persistance.xml

Configuration Advice

Configuration Advice

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

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

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.

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

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.

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

jakarta.persistence.EntityManagerFactory

.createNamedStoredProcedureQuery methods. Any configuration of the query object (except for actual parameter ... . This includes configuration information such as max results, hints, flush mode, lock mode, result set ... factory has been configured for resource-local entity managers or is closed. Since: Jakarta Persistence

Unexpected exception during open the database

activation by using a special configuration with index-update disabled . support Support Currently, we have not specified the index activation at all, i.e. element is not present in the configuration ... ) Therefore, please verify that the correct configuration file is changed. Quite often changes in

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

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

, and two objectdb server with different port. My JPA configuration is @ Configuration ... new com.objectdb.jpa.Provider(); } }; } } JpaConfig2.java @ Configuration @EnableJpaRepositories ... the activation code in the configuration file.  See this manual page , regarding where ObjectDB

jakarta.persistence.PersistenceConfiguration.managedClass(Class)

, MappedSuperclass , or Converter ) to the configuration . Parameters: managedClass - the managed class Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.PersistenceConfiguration(String)

Jakarta Persistence (JPA) Constructor in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration (    String name ) Create a new empty configuration . An empty configuration does not typically hold enough information for successful invocation of PersistenceConfiguration

jakarta.persistence.EntityManagerFactory.addNamedQuery(String,Query)

the EntityManager.createNamedQuery or EntityManager.createNamedStoredProcedureQuery methods. Any configuration ... is retained as part of the named query definition. This includes configuration information such as max

jakarta.persistence.EntityManager

manager. Modifying the contents of the returned map does not change the configuration in effect. Returns

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

jakarta.persistence.PersistenceConfiguration.property(String,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration property (    String name ,    Object value ) Set a property of this persistence unit. Parameters: name - the property name value - the property value Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties(Map)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties (    Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration Map properties() Standard and vendor-specific property settings. Returns: the configured properties. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.sharedCacheMode(SharedCacheMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration sharedCacheMode (    SharedCacheMode sharedCacheMode ) Specify the shared cache mode for the persistence unit. Parameters: sharedCacheMode - the shared cache mode Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.validationMode(ValidationMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration validationMode (    ValidationMode validationMode ) Specify the validation mode for the persistence unit. Parameters: validationMode - the shared cache mode Returns: this configuration . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType)

- if the entity manager factory has been configured for resource-local entity managers or is closed. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map)

manager factory has been configured for resource-local entity managers or is closed. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.EntityManagerFactory.getProperties()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getProperties() Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect. Returns: properties. Throws

jakarta.persistence.EntityManager.getProperties()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Map getProperties() The properties and hints and their associated values which are in effect for this entity manager. Modifying the contents of the returned map does not change the configuration in effect. Returns: a map

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