ObjectDB Database Search
51-100 of 200 resultsQuery 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 ... 02:00:34 CET 1970 Record 3 : startDateTime = Sun Oct 25 02:00:44 CEST 2015   | |
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 | |
Explorer in 2.3 data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data : a. Simple - Select a range of cells or a column header and copy ... for circular references) c. Binary - Select some objects, serialize the data to a binary file | |
2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object" ObjectDB 2.7. 3 _03 gives my application a "com.objectdb.o.UserException: Attempt to modify ... ; (ObjectDB log file attached.) If I revert to ObjectDB 2.7. 3 , then no more exception. (No other code ... . 3 _03 (which fixed an issue reported in this thread ). Could you please check version 2.7. 3 _04 | |
Refresh data in application after database data has changedRefresh data in application after database data has changed | |
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 | |
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 | |
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: | |
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.SecondaryTable one or more secondary tables indicates that the data for the entity class is stored across multiple ... . Since: Jakarta Persistence (JPA) 3 .2 String comment () (Optional) A comment to be applied to the table. This is only used if table generation is in effect. Since: Jakarta Persistence (JPA) 3 .2 ForeignKey | |
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 | |
JPA Class Enhancer explained in Chapter 3 ). Special code is added to enhanced classes that automatically notifies ObjectDB ... lists the classes that have been enhanced: [ObjectDB 2.9.4] 3 persistable types have been enhanced | |
jakarta.persistence.EntityResult columns to related entities. The results obtained when insufficient data is available are undefined ... . Since: Jakarta Persistence (JPA) 3 .2 Annotation Elements This is a marker annotation with no members | |
jakarta.persistence.PersistenceConfiguration) Since: Jakarta Persistence (JPA) 3 .2 Public Static Fields CACHE_MODE String specifying a SharedCacheMode ... transactionType () The transaction type . If PersistenceUnitTransactionType.JTA , a JTA data source | |
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 | |
DELETE Queries in JPA/JPQL an alternative way to delete entities. Unlike SELECT queries, which retrieve data from the database | |
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 | |
UPDATE SET Queries in JPA/JPQL an alternative way to update entities. Unlike SELECT queries, which retrieve data , UPDATE queries modify | |
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 | |
Eclipse/JPA Java EE Tutorial for Java EE Developers. GlassFish Server 3 .0.1 (or above). The last version of ObjectDB (just download and extract). The tutorial was written for Eclipse 3 .6.1 but it should work with other Eclipse versions ... : ObjectDB 2. 3 .7_04 or later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps: | |
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 1: Create a Maven Web Project.springframework spring-webmvc 3 .0.5.RELEASE org.springframework spring-tx 3 .0.5.RELEASE 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 org.springframework spring-webmvc 3 .0.5.RELEASE org.springframework spring-tx 3 .0.5.RELEASE org.springframework spring-orm 3 .0.5.RELEASE | |
Step 1: Create a Java EE 6 Web Project a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6 | |
JPA Tutorials, such as GlassFish 3 .0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework 3 web application: Spring MVC and JPA Maven Projects for Download The tutorials provide step | |
NetBeans/JPA Java EE Tutorial and menus might look slightly different but the code would be the same). Note: ObjectDB 2. 3 .7_04 or later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps: | |
Step 2: Create a Project and a Report file name (e.g. report.rptdesign ) and click Finish. The next step is creating an ObjectDB data source . | |
[ODB1] Chapter 7 - JDOQL Queries There are various ways to retrieve objects from an ObjectDB database, as shown in section 6. 3 ... , 0, 0xFFFF, 07777 , ... long 2003L, -127L, 0L, 0xFFFFL, 07777L , ... float 3 .14F, 0f, 1e2f, -2.f, 5.04e+17f , ... double 3 .14, 0d, 1e2D, -2., 5.04e+17 , ... char 'x', '@', '\n', '\\', '\'', '\uFFFF | |
[ODB1] Chapter 4 - JDO Metadata database, ObjectDB always uses datastore identity with its own object-id class). 4. 3   ... for determining if a field is persistent are explained in section 3 .2 . The persistence-modifier | |
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 |