ObjectDB Database Search

51-100 of 200 results

can not use spring-data-jpa repository with NamedQuery

in spring- data -jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring- data / data -jpa/docs/current/reference/html/#jpa.query-methods.named ... (SharedEntityManagerCreator.java:310) at $Proxy24.getParameters(Unknown Source) at org.springframework. data .jpa

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2 .4.0_03 i get an exception ... .getMetamodel(Unknown Source) at org.springframework. data .jpa.repository.support.JpaEntityInformationSupport.getMetadata(JpaEntityInformationSupport.java:56) at org.springframework. data .jpa.repository

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

Spring Data JPA - PersistenceException thrown

In a Spring-managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 EMFs created successfully on startup, but then subsequently when the application ... ) at com.sun.proxy.$Proxy13.getMetamodel(Unknown Source) at org.springframework. data .jpa.repository

Missing Data on Retrieval (0, null values)

Table contains all necessary Data . Most of the others  contains all  Object-Rows ... More information is needed (e.g. about your method exportToCSV ). support Support The Data is even missing in ... match between the two Resultlists Tested with  Version 2 .6.7 and 2 .4.5  - same behaviour

index - data rewrite

Hi we have found that applying indexes on an existing table erases the data . Are we doing something wrong. Thanks peric.emil Emil Perić Starting version 2 .6.6 ObjectDB automatically activates new ... carefully if data is missing (very unlikely) or queries fail to return results (possible if a new

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I ... PositionReportBeans in reports. I can verify with the ObjectDB explorer that all of the data ... , true); I get an Extent back with all of the data as I would expect. However, if I execute a Query

Wrong data stored in date only fileds

wrong data in the fields annotated with Temporal.DATE. The attached DB shows the problem ... 01 02:00:25 CET 1970 Record 2 :     startDateTime = Sun Oct 25 02:00:34 CEST 2015 ... on.   Thank you Emil     prolancer Emil Andonov It seems to be a regression of version 2 .5.5

Using List to save data

Hello, How can I save data dynamically such as "List" in Java - ArrayList, LinkedList, etc. thanks Seena Abdollahi Seena Abdollahi Software Engineer sabdollahi Seena Abdollahi Lists are persisted automatically as fields of entity classes. See chapter 2 and 3 of the manual for more details. support Support

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes. We find the period significant IO costs these days, and disappeared when turn off the batch updating. 1.ObjectDB is in embedded mode. 2 .ObjectDB version is 2 .3.7 3.Database file size is nearly

JPA Connections and Transactions

of the database file on the server, relative to the server data root path. Connection URL Parameters ... database. However, to avoid accidental data loss, the drop parameter is ignored unless the database ... the database (such as storing, updating, or deleting data ) must be performed within an active transaction

Server User List

which paths under the server's data directory the user can access: The required path attribute specifies a directory path relative to the root data directory. Permission to access a directory includes ... to access any directory within the data directory. $user is a variable that represents the user's username

Best practise loading big data

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

jakarta.persistence.CacheRetrieveMode

, Comparable , Serializable Specifies how the EntityManager interacts with the second-level cache when data ... that data may be read from the second-level cache. BYPASS indicates that data may not be read from ... (CacheRetrieveMode) Since: Jakarta Persistence (JPA) 2 .0 The JPA Shared (L2) Entity Cache article

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification () {    ... Spring- Data i got a NullPointerException in com.objectdb.jpa.criteria.PathImpl

JPA Attributes Annotations

Jakarta Persistence (JPA) annotations define how entity attributes (fields and properties) 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

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

JPA Runtime Tuning & Configuration

to find() and lock() . Cache retrieve mode Controls whether data is read from the second-level cache: USE ... store mode Controls how data is stored in the cache: USE , BYPASS , or REFRESH . Scope Usage

JPA Relationships Annotations

how the persistence provider propagates operations and loads related data using these enumerations: Specifies ... whether related data is loaded immediately ( EAGER ) or on-demand ( LAZY ). Collection configuration Configure

JPA Annotations

behavior. Declare static, reusable JPQL queries directly on the entity class. Optimize data retrieval by ... fields to persistent state, including primary keys, enumerated types, and temporal data . Define

JPA ORM Mapping Annotations

for an entity, allowing data for a single entity to be split across multiple database tables ... within the hierarchy. An enumeration defining the data type of the discriminator column (STRING, CHAR

General Settings and Logging

constraints, ObjectDB can use temporary files when processing large amounts of data , such as query ... . Therefore, ObjectDB uses temporary files only for data that exceeds a size limit specified by the threshold

jakarta.persistence.Cache

, except for contains , which returns false. Since: Jakarta Persistence (JPA) 2 .0 The JPA Shared (L2 ... cls , Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls ... . Since: Jakarta Persistence (JPA) 1.0 void evict ( Class cls , Object primaryKey ) Remove the data

jakarta.persistence.SchemaManager

creation , schema validation , data cleanup , and schema cleanup for entities belonging to a certain ... .getSchemaManager() Since: Jakarta Persistence (JPA) 3. 2 Public Instance Methods void create ... data from any configured SQL scripts for data loading. If a SQL operation fails, the behavior

jakarta.persistence.SecondaryTable

one or more secondary tables indicates that the data for the entity class is stored across multiple ... { ... } Example 2 : Single secondary table with multiple primary key columns. @Entity @Table(name ... provider. Default: @ForeignKey(ConstraintMode.PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1

Strings in JPQL and Criteria Queries

to 'aly' . SUBSTRING('Italy', 3, 2 ) is evaluated to 'al' . Positions are one-based (as in SQL), not ... ); Expression l2 = cb. locate (path, "x"); Expression l3 = cb. locate (path, param, cb. literal ( 2 )); Expression l4 = cb. locate (path, "x", 2 ); // LOWER(str) and UPPER(str) Expression lower = cb. lower (path

Numbers in JPQL and Criteria Queries

. For example: MOD(11, 3) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT( 2 ... (+) Expression sum1 = cb. sum (path, param); // 2 expressions Expression sum2 = cb. sum (path, 1000

SELECT clause (JPQL / Criteria API)

for accessing the result data . CriteriaBuilder.construct JPQL user-defined result objects

Database Transaction Replayer

of recording is data durability, you can keep the recording directory on a different physical device

Database Replication and Clustering

root directory, $replication , which is located under the server's data root directory. To start

Is ObjectDB better than competing object databases?

of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA

Index Definition

is an ordered map data structure that ObjectDB maintains in the file system, not in memory. The B

JPA Query Structure (JPQL / Criteria)

...]] [ORDER BY ...] The SELECT and FROM clauses are required in every query that retrieves data ; update

What are the main benefits of using ObjectDB?

multiple values (even for a simple data structure such as a collection of strings). In addition

Database Doctor

database file : Creates a new database file and copies all recoverable data from the corrupted file

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 Metamodel and Graphs

The API supports the definition of fetch graphs to optimize data loading strategies at runtime

Database Schema Evolution

these changes explicitly in the configuration to avoid data loss. The Schema Update section in Chapter 6

Eclipse Distribution License - v 1.0

GOODS OR SERVICES; LOSS OF USE, DATA , OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED

Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data Objects (JDO) API. ObjectDB is a full featured

Running JPA Queries

other cases, the expectation of a single result might be incorrect, depending on the data in the database

JPA Criteria Query Selection and Results

The JPA Criteria API provides type-safe interfaces for defining query result expressions and ordering, mirroring the SELECT and ORDER BY clauses in JPQL or SQL. These interfaces allow you to specify exactly what data is returned and how it is sorted within the result set. SELECT clause elements

JPA Optimistic and Pessimistic Locking

Jakarta Persistence (JPA) supports both optimistic locking and pessimistic locking . Locking is essential to avoid update collisions when concurrent users simultaneously update the same data . In ObjectDB each entity is locked separately, there is no table locking. Optimistic locking is applied

About Us

ObjectDB Software develops, markets and supports the ObjectDB Object-Oriented Database Management System (ODBMS). ObjectDB Software is the market leader in providing a very high performance persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects (JDO

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 ... 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: Create a Maven Web Project

.objectdb.com com.objectdb objectdb 2 .8.1 org.eclipse.persistence javax.persistence 2 .1.0 javax.transaction jta 1.1 javax.servlet servlet-api 2 .5 provided javax.servlet.jsp jsp-api 2 .1 provided org ... .springframework spring-orm 3.0.5.RELEASE aopalliance aopalliance 1.0 cglib cglib 2 . 2 org.aspectj aspectjweaver

Step 1: Create a Maven Web Project

;  com.objectdb    objectdb    2 .8.1        org.eclipse.persistence      javax.persistence      2 .1.0       ... ;      javax.servlet    servlet-api    2 .5    provided  

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window under Source Packages) and selecting New

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting  New Class

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as