Internal Website Search

101-150 of 200 results

Refresh data in application after database data has changed

Refresh data in application after database data has changed

BeanCreationException in spring data JPA with objectDB

.GenericTypeResolver.getTypeVariableMap(Ljava/lang/Class;)Ljava/util/Map; from class org.springframework. data .util ... org.springframework. data .util.ClassTypeInformation at org.springframework.beans.factory.support ... .springframework. data .util.ClassTypeInformation at org.springframework. data .util.ClassTypeInformation

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

Exporting the data out of the ObjectDB

system. However we want to work on one of the aspects that is the data should be able to pulled out of the ObjectDB to some sort of Big Data File system or Relation DB for reporting / analytics ... our OLTP to be affected by data intensive reporting and analytics requirements. This could be handled

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 ... ) then you must make sure that data is fetched from the database before you your first reflection operation

Spring Data JPA - PersistenceException thrown

) at com.sun.proxy.$Proxy13.getMetamodel(Unknown Source) at org.springframework. data .jpa.repository ... ) at org.springframework. data .jpa.repository.config.JpaMetamodelMappingContextFactoryBean.createInstance(JpaMetamodelMappingContextFactoryBean.java:56) at org.springframework. data .jpa.repository

Finance data from SQL Server into ObjectDB daily

data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add ... other JPA implementations to retrieve data from RDBMS tables and then use the same JPA entity classes to store the data in ObjectDB. support Support Hi -   Thanks for getting back to me. I'm unfamiliar

ObjectDB License Agreement [ver. 2.0.4]

, but not limited to loss of revenue, profit or data ) however caused and regardless of the theory

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

JPA Query Expressions (JPQL / Criteria)

, substring, ... ). Data expressions ( currentDate , currentTime , currentTimestamp ). Collection

Index Definition

for every index. A BTree is an ordered map data structure that ObjectDB maintains in the file

Literals in JPQL and Criteria Queries

. Unlike most other JPQL components, String literals (which represent data ) are case sensitive, so 'abc

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

fresh database file and then copying all the recoverable data in the corrupted database 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

Database Schema Evolution

must be specified 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

ObjectDB Website - Terms and Conditions of Use

, damages for loss of data or profit, or due to business interruption,) arising out of the use or

Company

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

Chapter 4 - JPA Queries (JPQL / Criteria)

clauses are explained: ObjectDB also supports the Java Data Objects (JDO) Query Language (JDOQL

FROM clause (JPQL / Criteria API)

, MEMBER, MIN, MOD, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR, ORDER, OUTER, POSITION, SELECT, SET , SIZE

JPA Annotations for Fields

The way a field of a persistable class is managed by JPA can be set by the following annotations: Additional annotations (and enum) are designated for enum fields: Other additional annotations (and enum) are designated for date and calendar fields: Chapter 2 of the ObjectDB manual explains how to use all the above annotations.

What's next?

describing some tools and settings that are specific to ObjectDB:

Running JPA Queries

instances to zero: int count = em. createQuery ("UPDATE Country SET area = 0"). executeUpdate

Criteria Query Selection and Results

The JPA Criteria API interfaces in this group are used for setting the SELECT and ORDER BY clauses and for representing query results as tuples. SELECT Clause Elements The content of the SELECT clause in a criteria query is represented by Selection : Because Selection  is a super interface

Online Backup

directory can be specified by setting the target parameter before executing the backup query:  

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings . Defining a persistence unit is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in

Criteria Query From Elements

The interfaces in this group are in use for setting a criteria query FROM clause. Criteria Query Variables The FROM clause  in JPA queries (as in SQL) defines the query variables. Query variables are represented in criteria queries by descendant interfaces of the From interface: Range

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

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 .

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

; copy and paste to replace its content with the following settings : 4.0.0 com.objectdb.tutorial

Step 1: Create a Java Project

qualified class name is set (you may use copy & paste). Click the Finish button to create

Step 1: Create a Maven Web Project

file and use copy and paste to replace its content with the following settings : 4.0.0 com.objectdb

Step 2: Entity Class and Persistence Unit

JPA persistence unit (with default settings ) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 2: Entity Class and Persistence Unit

by setting a  META-INF/persistence.xml file: Right click the src/main/resources node (in

Step 2: Entity Class and Persistence Unit

JPA persistence unit (with default settings ) was generated in a persistence.xml file that was added

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 5: Add a JSP Page

from the request's "guests" attribute that is set by the servlet in the previous step). The next step

Step 5: Add a JSP Page

" attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application .

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

[ODB1] Chapter 1 - About ObjectDB

Compliant ObjectDB is compliant with the JDO (Java Data Objects) standard, developed by Sun

JDO Annotations for Classes

JDO supports two modes of persistable classes that can be set by the following annotations: Non persistable classes that should be enhanced (because of accessing persistent fields of other classes directly) can be marked with: The identity mode of persistence capable classes can be specified by using:

JDO Annotations for Fields

The way a field of a persistable class is managed by JDO can be set by the following annotations and enum types:

[ODB1] Chapter 4 - JDO Metadata

demonstrated above. The Index Rebuilder Tool Setting indexes for a new class that does not have persistent

javax.jdo.spi.PersistenceCapable

from the same JDO implementation to locate a persistent instance with the same data store identity ... is not managed by the application or the data store, then the ObjectId returned is only valid ... the data store return true. Return: true if this instance is persistent. See Also: javax.jdo