ObjectDB Database Search

1-50 of 200 results

Database Management Settings

The configuration element specifies back-end (database engine) settings for the server ... specifies the database file and page size settings : The initial attribute specifies the initial size ... the database. The element specifies the recovery file settings : The enabled attribute ( "true" or

Setting and Tuning of JPA Queries

The Query and TypedQuery interfaces define various methods for setting and tuning query execution ... that EntityManager , or at the individual query level, which overrides the EntityManager setting ... . JPA adds support for pessimistic locking . The setLockMode method sets a lock mode to apply

Privacy Policy

is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data ... You about Your privacy rights and how the law protects You. We use Your Personal data to provide and improve ... that can access the Service such as a computer, a cellphone or a digital tablet. Personal Data

Step 3: Create an ObjectDB Data Source

of the ObjectDB data source. The next step is using this data source to create a data set for the BIRT report. ... Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [ Data

JPA Runtime Tuning & Configuration

, @Table ) or set globally at the persistence unit level during bootstrapping . This section describes dynamic options that control runtime behavior and allow you to adjust settings per session, query, or operation. Configuration scope hierarchy For non-static configuration (i.e., settings not expressed

JPA Entity Fields

-persistent) fields and has no data to store in the database. Persistent fields Every non-static non ... , such as Hibernate, or for changing default field settings . For example: @Entity public class ... an exception if you try to store an entity with a null value in that field. Cascade and fetch settings

JPA Persistable Types

Persistable types are data types that can be used for storing data in the database. ObjectDB ... superclasses, and embeddable classes. Simple Java data types: Primitive types, wrapper classes, `String ... multiple persistent fields causes data duplication in the database. Entity classes An entity class

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date ... . Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data . While we cannot see a problem with date only fields (more testing

Import data from MySQL

Hi, I tried the objectdb in my research, find it very easy to handle without setting up xml files ... mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases ... data from MySQL using JPA as entity objects, detach the retrieved entity objects and then persist

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel metamodel = em.getMetamodel(); Set allManagedTypes = metamodel.getManagedTypes(); for(ManagedType o

Wrong data stored in date only fileds

wrong data in the fields annotated with Temporal.DATE. The attached DB shows the problem and can easily be reproduced. Here are the values used to set the fields before adding the objects (in ... 1970   In the DB you will notice that the startDate field is set to "Sat Oct 24 00:00:00 CEST

data protection method in ObjectDB Embedded Mode

I am new in ObjectDB and i need to understand How is data protection in ObjectDB Embedded Mode without using  username or password thanks choymns choymns The way to keep an ObjectDB database ... using a CPU that supports the AES instruction set . support Support

Retrieving JPA Entities

method is useful when you need a reference to an entity but not its data , for example, to set ... the persistence context, JPA constructs a new object and populates it with data from the database or ... retrieves the object's data from the database, constructs a new managed entity, and returns

Pessimistic Lock Timeouts setting

.objectdb.o._LockTimeoutException: Write lock cannot be granted for a.b.c.d.EE#150. irrespective if I set ... setting a shared lock in the EJB could get around this, but this would be global and impact all threads ... on stale updates. Willks William Support of pessimistic lock timeout  setting ( javax.persistence

Fetch Set from DB only works on debug mode

the EntityManager . In debug mode, by examining the set you load the data before closing the  EntityManager ... to fetch that hash set , it returns a null pointer. BUT, when I run the program in debug mode, it works fine ... , i will open a support ticket. elnll002 Facundo Curti This is not a bug. Lazily loaded data

-XMX settings recommendation

The default is 256M  what is the recommended settings based on?  It is the size of the DB? number of connections?  If the DB has over 200GB of data and max connection of 400 then will I need to make this settings higher?  Thanks. Trianglehead Json Error There is no magic

Set timeout for BatchQueryItr

( unknown source ) xirt Sylvain You can set a query execution timeout as a query hint . The many BatchQueryItr files may indicate a complex query on a lot of data with no sufficient indexes

jakarta.persistence.metamodel.PluralAttribute.CollectionType.SET

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.PluralAttribute.CollectionType SET Set -valued attribute Since: Jakarta Persistence (JPA) 1.0

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. for (int page=0; page

Step 6: Set the Spring XML

.DispatcherServlet 2 spring *.html 30 index.jsp The settings above routes web requests with  .html suffix to the Spring dispatcher servlet. Additional spring configuration is set in another XML file ... content: The settings above guides Spring to support annotations (for components, controllers

Step 6: Set the Spring XML

: spring org.springframework.web.servlet.DispatcherServlet 2 spring *.html 30 index.jsp The settings ... configuration is set in another XML file (whose name is derived from the name of the Spring dispatcher ... with the following new content: The settings above guides Spring to support annotations (for components

Server Configuration

The configuration element specifies settings for running an ObjectDB Server . The server ... directory . The data path of an ObjectDB server is similar to the document root directory of a web server. Every database file in the data directory and its subdirectories can be accessed by the server

SELECT clause (JPQL / Criteria API)

in criteria queries The criteria query API provides several ways to set the SELECT clause. Single selection Setting a single-expression SELECT clause is straightforward. For example, the following ... . get ("currency")). distinct (true); The select method takes one argument of type Selection and sets

Database Replication and Clustering

to the slave databases, keeping them synchronized. Setting a master satabase A master ObjectDB database ... cannot. You must enable recording , but no other preparations or settings are required. Setting slave databases Setting up slave databases is straightforward. You only need to run an ObjectDB database server

JPA Attributes Annotations

) are managed. These annotations control data persistence behavior, including fetching strategies, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior using the following annotations: Sets a field or property of a basic attribute (e.g., primitives

JPA Criteria Queries

: UPDATE and DELETE Queries CriteriaQuery is designed exclusively for data retrieval. Bulk data ... , set new attribute values, and restrict the scope with a WHERE clause. Use this interface to define

JPA Core Types

-level cache. Use it to check if specific entities are cached or to evict data to ensure ... these enums: Specifies whether the application uses JTA or resource-local transactions. This setting ... utilizes Jakarta Validation. Use this to explicitly enable, disable, or set validation to auto

What is the Java Data Objects (JDO)?

The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using plain old Java objects (POJO) to represent the object model. Unlike Java Persistence API (JPA), which is designated to be used with relational databases, JDO is designated to be used

Database Transaction Replayer

of recording is data durability, you can keep the recording directory on a different physical device by setting the path attribute in the configuration . The recording directory contains two types

JPA Query Structure (JPQL / Criteria)

...]] [ORDER BY ...] The SELECT and FROM clauses are required in every query that retrieves data ; update ... FROM ... [WHERE ...] UPDATE ... SET ... [WHERE ...] With a few exceptions, JPQL is case-insensitive

Query Parameters in JPA

is a parameter that serves as a placeholder for a value. Before executing the query, you must set ... parameter can appear multiple times in the query string. A query can be executed only after you set values for all its parameters. The order in which you set the parameters does not matter. Ordinal

What is the Java Persistence API (JPA)?

) is that in JPA data is represented by classes and objects rather than by tables and records as in JDBC. Using plain old Java objects (POJO) to represent persistent data can significantly simplify ... . These implementations are Object Relational Mapping (ORM) tools. The mapping bridges between the data

Best practise loading big data

is the main data provider within our solution. In the past we often discovered performance problems ... data access on a large 2 dimansional table. Internally we used a list entities which hold a list ... . Creating and traversing. For the traversing we access the data block by block - in each block step by

Step 6: Design a BIRT Report Table

) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X ) in the third field and click OK . Fill the table with data by dragging the x and y columns from the data set in the [ Data Explorer] window (under the data set node) and dropping them on the second

JPA Class Enhancer

(for example, the get and set methods). If you follow this practice, only user-defined persistable ... argument. Setting a Java agent enhancer in an IDE In Eclipse, JVM arguments can be set globally in ... in: Run Configurations… Arguments VM arguments In NetBeans, JVM arguments can be set in the project

WHERE clause (JPQL / Criteria API)

and an official language from a specified set of languages: SELECT c, l FROM Country c JOIN c.languages l ... the WHERE clause. WHERE in criteria queries The CriteriaQuery interface provides two where methods for setting ... it as the WHERE clause predicate, overriding any previously set predicate. For example, the following

SQL Queries Annotations

Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries ... dialect. Groups multiple @NamedNativeQuery definitions on a single class. Result set mapping Map ... how the result set of a native query maps to entities, scalar values, or constructor results. Groups

ObjectDB - JPA Object Database for Java

when the object data  model is complex. See JPA benchmark results...   Reduce development time. Improve ... Persistence API (JPA) Java Data Objects (JDO) Using a standard Java API (JPA / JDO) provides many benefits

Chapter 2 - JPA Entity Classes

An entity class is a user-defined class whose instances can be stored in a database. To store data in an ObjectDB database using Jakarta Persistence (JPA), you define entity classes that represent your application's data object model. This chapter contains the following sections:

Storing JPA Entities

setting up automatic cascading persist operations. Cascading persist Marking a reference field ... . Because of the CascadeType.PERSIST setting , when an Employee instance is persisted, the operation is automatically ... . You can do this either by setting the ObjectDB configuration or, in a JPA-portable way, by specifying the cascade-persist

Logical Operators in JPQL and Criteria API

Logical operators in JPQL and JPA criteria queries combine simple Boolean expressions to form complex expressions. Logical operators ObjectDB supports two sets of logical operators, as shown in the following table: Set 1: JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation

Enum fields are set to null and embeddable enum class does not show in explorer

in the related objects is set to null. This is highly critical because it will cause data loss ... before, this is a highly critical issue and it will lead to data loss for users updating to 2.8.2 ... critical issue and it will lead to data loss for users updating to 2.8.2. If this is indeed just

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

. set (platformConnector); } ... } I get an exception thrown  when trying to create an entity ... ._PersistenceException: Failed to locate set method for field property domain.PlatformTicker.platformConnector using ... can open the database and browse the data . It seems odd that the error message should complain about field

jakarta.persistence.TypedQuery

query. PersistenceException - if the query execution exceeds the query timeout value set ... execution exceeds the query timeout value set and only the statement is rolled back. Since: Jakarta ... result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query

JPA Metamodel Attributes

: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection . Represents an attribute typed as a java.util. Set , implying unique elements without a specific order

Step 5: Design a BIRT Report Chart

. In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data ... these fields for content assistant) and click Next . In the [Format Chart] tab you can set the chart title ... to see the chart with the real data : In the next step we will add a table view of the same data to the report.

Step 1: Install BIRT and ObjectDB Driver

We start by installing the BIRT development environment and the ObjectDB data source driver. Installing BIRT Choose one of the following options to install the BIRT development environment: Download ... the ObjectDB Data Source Driver To install the ObjectDB data source driver for BIRT: Open the [Install

Spring MVC JPA Tutorial - IntelliJ Project

the Server: Select  File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat ... +F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Report Generation with BIRT and JPA

This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as ... , 12), ..., (20, 20) The data will be presented in the BIRT report using a chart and a table:

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's guestDao attribute that is set by the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration .