ObjectDB Database Search

1-50 of 200 results

ObjectDB Object Database Features

support of the JPA and JDO APIs. Fundamental features of relational databases (e.g. primary keys ... ). Java Data Objects ( JDO ) Complete JDO 2 support (passed the JDO 2 TCK). Support for JDO 3 new ... optimizations. Configurable JPA eager/lazy fetch  and JPA query FETCH JOIN . Configurable JDO fetch

Logical Operators in JPQL and Criteria API

of logical operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO AND && OR ... , the JDO Query Language). ObjectDB supports both forms. Binary AND (&&) Operator The following ... the Java/ JDO && operator as a synonym of AND as part of its JDO support. Binary OR (||) Operator

Should I use ObjectDB and JDO?

.   It looks like JDO is the preferred API for me (because ObjectDB FAQs lead me to believe ... ;relational databases).  I want to use annotations, which seems to mean JDO 2.1+ is required.  Does ObjectDB support JDO annotations?   I don't see an ObjectDB tutorial using JDO

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? Due in part to some of the failures of the EJB persistence model, and some ... was attempted. Java Data Objects ( JDO ) was inspired and supported primarily by the object-oriented

javax.jdo.JDOUserException Failed to locate field field exampleField using reflection (error 363)

-server mode. The exception we get is following: [ObjectDB 2.8.3_05] javax. jdo .JDOUserException Failed ... ;at java.base/java.lang.Thread.run(Thread.java:833) com.example.db_utils. jdo .exception.ConnectionException     at com.example.db_utils. jdo .BasicJDOConnection.persistenceManagerInit

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X ... "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD ... It is supported, but not mentioned in the manual, because the new manual focuses on JPA (the old JDO manual

JPA vs JDO - which is more efficient for OneToMany queries?

I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically typed. For example: Assume there are Customers and Orders. with JDO I ... to do this: @Entity class Customer { } class Order { Customer customer; } So, with the JDO version

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package. jdo files after moving from ObjectDB 1 ... in version 2. I found only small fragments of attributes in the description of JDO Annotations ... description of XML metadata for ObjectDB ver2 using JDO which I did not find? 2. Is the combined

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 ... . The support of two standard APIs (JPA and JDO ) by ObjectDB minimizes the risk ... , including aggregate queries, as part of its support of JPQL (JPA Query Language) and JDOQL ( JDO Query Language). ObjectDB is faster than other products.

Index Definition

definition uses JDO’s @Index and @Unique annotations to define indexes (JPA's @Index  cannot be applied to fields): import javax. jdo .annotations.Index; import javax. jdo .annotations.Unique

JPA Persistence Unit

to annotations. Both JPA mapping files and JDO package. jdo files are supported. This manual focuses on using ... can be found in the JPA and JDO specifications and books. Managed Persistable Classes JPA requires

Future JDO versions?

interests us is JDO .  We have been using JDO for over a decade and have found it consistently a far ... management of identity) are built-in to JDO .  We have recently migrated projects for JPA to ObjectDB JDO because of this, and intend to continue to use JDO in future projects and to promote

disabling JDO in objectdb embedded mode

made to load class or resource [metamodel/PrimitiveValue. jdo ] on an ASURLClassLoader instance ... (CommandRunnerImpl.java:348)   It seems that objectdb is trying to load a . jdo file ("metamodel/PrimitiveValue. jdo "). I don't have such file on my classpath. So my question is: how can I prevent objectdb

Problem with byte arrays in JDO - internal exception

javax. jdo .JDOHelper; import javax. jdo .PersistenceManager; import javax. jdo .PersistenceManagerFactory; import javax. jdo .Query; import spiffy.test.model.Example; /** * * @author steve */ public class ... .objectdb.o.OBC.U2(OBC.java:1102) at com.objectdb.o.QRR.f(QRR.java:222) at com.objectdb. jdo .JdoQuery

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package. jdo XML metadata ... and own OID) in those few peristence-capable ones. Example of JDO metadata:         ... " attribute in the package. jdo XML ? If yes, how to handle this ? 3. Should the @Embedded annotations work

EntityManager JPA or JDO impl and different behavior

, I get: com.objectdb. jdo .PMImpl Whats going on here? Is the entityManager not controlled by ... It is strange. But actually the test behavior is expected. com.objectdb. jdo .PMImpl extends ... for both JPA and JDO . Are you sure that in Spring you really see an  EMImpl instance (which is not 

ObjectDB JDO - foreign key constraints

Hi, I am new to both JDO and ObjectDB, and am struggeling to figure out how to define foreign key ... cascading updates and deletes in JDO ? There seems to exist a @ForeignKey annotation in JDO ... seem to be present in the online ObjectDB JDO annotation list, so this may not be supported by ObjectDB?  

Is it possible to using JDO and distributed transaction?

I'am new to study JDO . Can and How I use JDO an distributed transaction?(multiple database ... Reference Documentation       JCA, JTA, and JDO Transactions - Using and Understanding Java Data Objects     JDO : Usage of DataNucleus within a JEE environment 

is JDO field attribute "indexed" supported?

I prefer to use the package. jdo XML metadata rather than annotations, but you don't seem to have specific documentation for this. Your documentation for JDO annotation @Index mentions ... seem to be mentioned on the JDO annotations for fields documentation. Could you confirm

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 ... the primary API, and if necessary, switch to JDO as a secondary API for special additional features that are supported only by JDO . Selecting the more popular API leads to more portable application

JDO Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of JDO 2.2. The content is derived from the original JDO documentation with some additions and notes. The most basic JDO types are: All the other JDO types are organized into the following sections:

What is the Java Data Objects (JDO)?

The Java Data Objects ( JDO ) is another standard for accessing persistent data in databases, using ... ), which is designated to be used with relational databases, JDO is designated to be used with both relational and object databases. JDO is supported by many object databases, including ObjectDB

JDO Annotations for Mapping (ORM)

The following JDO annotations and enums are designated for mapping a JDO object model to a relational database, and are not required by ObjectDB: ObjectDB silently ignores all the above annotations.

ObjectDB - JPA Object Database for Java

Persistence API (JPA) Java Data Objects ( JDO ) Using a standard Java API (JPA / JDO ) provides many benefits

Entity Management Settings

cascade settings. The "auto" value functions as "true" when using JDO and as "false" when using JPA ... of either global or local setting) should be applied during commit and flush. Note: Both JPA and JDO

Comparison in JPQL and Criteria API

- JPQL / SQL Set 2 - Java / JDO Less Than Less Than or Equal To = Equal = == Not Equal ... its own notation (which is also in use by JDOQL, the JDO Query Language). ObjectDB supports both forms

ObjectDB Overview

- managed only by standard Java APIs (JPA 2 / JDO 2). Extremely fast - faster than any other JPA / JDO

About Us

persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects ( JDO ) standards, since ObjectDB is the first object oriented database with built in support of JPA and JDO

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:

Miscellaneous JDO Annotations

This section contains miscellaneous JDO annotations and associated enum types:

JDO Internal Callbacks

The following interfaces can be implemented by persistence capable classes in order to response to JDO lifecycle events:

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.

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:

JDO Annotations for Fetch Settings

The following annotations are used to define JDO fetch groups and fetch plans:

JDO Annotations

JDO defines dozens of annotations that can be divided into the following groups:

JDO Exceptions

JDO exceptions are represented by the following exception classes:

JDO Miscellaneous Types

This section contains miscellaneous JDO types:

JDO Annotations for Index Definition

All about JDO Annotations for Index Definition in Java/JPA database - explanations, examples, references, links and related information.

JDO Predefined ID Classes

All about JDO Predefined ID Classes in Java/JPA database - explanations, examples, references, links and related information.

Setting and Tuning of JPA Queries

.query-language" - sets the query language, as one of "JPQL" (JPA query language), "JDOQL" ( JDO query

Numbers in JPQL and Criteria Queries

and JDO . JPA follows Java numeric promotion principles. For example, the resulting type

Literals in JPQL and Criteria Queries

two single quotes (e.g. 'Adam''s' ). ObjectDB also supports the syntax of Java and JDO for string literals

What are the main benefits of using ObjectDB?

processes JPQL (JPA Query Language) and JDOQL ( JDO Query Language) queries directly, where ORM tools first

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

Is ObjectDB a NoSQL Database?

, using two standard Java query languages: JPQL (Java Persistence Query Language) and JDOQL ( JDO

Updating JPA Entity Objects

to report a change explicitly by invoking the JDO's makeDirty method. Alternatively, ObjectDB

Chapter 4 - JPA Queries (JPQL / Criteria)

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

ObjectDB 2 JDO Manual

that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual and then maintaining two similar manuals, one for JPA and the other for JDO requires massive work, this will be done only if there is a sufficient demand. support Support As a user of the JDO side of ObjectDB a JDO

JDO PersistenceManager.getSequence() returns null sometimes

When using JDO without annotations, database sequences are normally defined in the ORM file. Following discussion on the forum I was told that ObjectDB supports sequences if specified in the JDO ... to reproduce: import javax. jdo .PersistenceManager; import javax. jdo .PersistenceManagerFactory; import

I can't get cascading delete to work in JDO

Objects" on this old documentation page ). Build 2.7.5_04 implements cascading delete in JDO ... rather than NetBeans projects for future report): import java.util.*; import javax. jdo .*; import javax. jdo .Query; import javax. jdo .annotations.*; public class F2329 {     public static void main