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

How to configure where the ODB is stored?

Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database ... restarts.  I'd just like to know how to configure it to be in my home directory ... . On that manual page you can also read how to change the ObjectDB Home. support Support I configured

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

Does JPA have any configuration to create DDL's that are database specific

There some JPA classes who's names more that 30 character. This worked well in MySQL , Derby , PostgreSQL but when it was tried on oracle , we hit the constraint that oracle has of 30 characters.   So basically my question is that is there any JPA have any configuration to create DDL's

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

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

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

[ODB1] Chapter 8 - ObjectDB Server

the server. More details on server configuration and operation are provided later in this chapter ... ] start | stop | restart options include: -conf : specify a configuration file explicitly -port : override configuration TCP port to listen to To start the server, use the start command: $ java com

jakarta.persistence.Persistence.createEntityManagerFactory(PersistenceConfiguration)

createEntityManagerFactory (    PersistenceConfiguration configuration ) Create and return ... : configuration - configuration of the persistence unit Returns: the factory that creates EntityManager s configured according to the specified persistence unit. Since: Jakarta Persistence (JPA) 3.2

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

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.Persistence.createEntityManagerFactory(String,Map)

. The values of these properties 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

jakarta.persistence.Persistence.generateSchema(String,Map)

that may have been configured elsewhere. Throws: PersistenceException - if insufficient or inconsistent configuration

jakarta.persistence.PersistenceConfiguration.createEntityManagerFactory()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration EntityManagerFactory createEntityManagerFactory() Create a new EntityManagerFactory based on this configuration . Throws: PersistenceException - if required configuration is missing or if the factory could not be created. Since: Jakarta Persistence (JPA) 1.0

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

[ODB1] Chapter 9 - ObjectDB Explorer

thread. The server configuration file is located automatically by the Explorer, but you can specify a configuration path explicitly using "Tools | Options | General". 9.5  Options ... only when the code of these methods is available using the specified classpath. The "Server Configuration

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 .