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

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

JDO @Index in JPA?

, which I know that it's not available in JPA, but ObjectDB works with JDO as well. Question1: will adding JDO @Index in a JPA entity have any effect or I have to switch that entity to JDO ? Question2: switching entities from JPA to JDO can happen when there is already data in the database? Or do I

Problem with byte arrays in JDO - ClassCastException

.List; import javax. jdo .JDOHelper; import javax. jdo .PersistenceManager; import javax. jdo .PersistenceManagerFactory; import javax. jdo .Query; import spiffy.test.model.Example; /** * * @author steve

JDO PersistenceCapable Interface for Enhanced Classes

Hallo,   in old JDO 1.0 project we use the PersistenceCapable interface like this    ... to javax. jdo .spi.PersistenceCapable give it an workaround or so? aqua2011 Michael Buckendahl Since JDO 2.0 implementing the  javax. jdo .spi.PersistenceCapable is optional, and the ObjectDB 2.x Enhancer

Online backup with JDO

only JDO ? Will the above code still work for me if I arrange having an EntityManager upon my DB file? Or does some equivalent syntax work with JDO too ? Perhaps something like: persistenceManager ... am using only JDO ? Your suggested JDO query should work. support Support

ODB 2 JDO enhancement

. jdo file? This question relates to experiences with ODB 1, in which one has to: a) create a package. jdo , and b) run the Enhancer In my experience, using this with Tomcat, and running the enhancer in ... / @Entity) replace the XML metadata (e.g. package. jdo ). Enhancement is another issue. ObjectDB 2

Which version of JDO should I use with ObjectDB?

I have defined a number of JDO indexes on my persistent class, so would like to know which is the preferred version of JDO to use e.g. is it  jdo -api-3.1.jar? Thank you paul Paul Hudson ObjectDB 2.x uses JDO 2.2. support Support

JDO manual

Request for a new JDO manual, covering ODB 2. dmoshal David Moshal Please subscribe to the ObjectDB 2 JDO Manual issue. Because 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

Drop JDO support

In my opinion JDO is a legacy/deprecated technology. You should remove JDO support in favour of JPA. I think this would make ObjectDB to grow faster. tuille Alberto Otero ObjectDB already supports JPA and this is its main API (e.g. the manual focuses on JPA). We have no reason to drop JDO , as there are still ObjectDB users that use it. support Support

Sample JDO Architecture for Follow Up Questions

I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation survey (reading JDO books, studying ObjectDB's documents and forum) and have designed what I ... embedded mode using JDO (not JPA). * Database access needs to be super fast, like microsecond times

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

package.jdo validation error (Connection timed out)

.objectdb.o._JdoUserException: Failed to validate xml file \RTDLogger.jar#package. jdo : Connection ... .getPersistenceManager(); Can you please let me know if i need to change something in my package. jdo file

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

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

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

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

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package. jdo ) JDO Annotations All these methods are static, i.e. the metadata has to be provided

JDOQL Subqueries (JDO 2.1)

Subqueries (nested queries) have been added to JDOQL ( JDO Query Language) in JDO 2.1. This is the main feature of JDO 2.0-2.1-2.2 that is not implemented yet in ObjectDB 2. support Support

javax.jdo.JDONullIdentityException: The identity must not be null.

.removeChild(ContainerBase.java:1049) [...] Caused by: javax. jdo .JDONullIdentityException: The identity must not be null.         at javax. jdo .identity.SingleFieldIdentity.assertKeyNotNull(SingleFieldIdentity.java:92)         at javax. jdo