Internal Website Search

1-50 of 105 results

Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM  combination is easier and leads to better performance. ORM tools, however, are very useful where the use ... performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational

JPA Annotations for Mapping (ORM)

Reference (JavaDoc) of JPA 2 ORM annotations.

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm .xml ... ;       and the persistence.xml references this orm .xml :     ... -INF/ orm .xml                 

JDO sequences from ORM file

. orm file, where X is a value passed to the PersistenceManagerFactory as the value of property ... (that are part of every build), but in a package.jdo file rather than an  orm file. Maybe the problem ... Support Thanks. I have got this working, by a combination of moving the sequence from ORM to JDO file

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm .xml, rather than in the entity classes, for example: delete from DataValue d where d.capabilityId = :capabilityId and d.creationtime

JPA Entity Fields

, so they are useful only for classes that are also in use with an ORM JPA provider (such as ... fields are essential for collection fields when using ORM JPA implementations, but not when using ... because a version field is inherited by subclasses. Unlike ORM JPA providers, ObjectDB always manages

ObjectDB - JPA Object Database for Java

Mapping ( ORM ) tools can reduce some manual work but cannot eliminate the extra processing time ... and eliminates the ORM layer. The result is better performance and faster applications, especially ... database with JPA support in one product , sparing the need to integrate an external JPA ORM

How to define Default Entity Listeners without persistence.xml and orm.xml

How to define Default Entity Listeners without persistence.xml and orm.xml

JDO Annotations for Mapping (ORM)

All about JDO Annotations for Mapping (ORM) in Java/JPA database - explanations, examples, references, links and related information.

Can I use ObjectDB to access a relational database?

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 standalone Object Database Management System (ODBMS) and not an ORM tool, so it is not intended and cannot be used to access other database management systems.

JPA Query Structure (JPQL / Criteria)

, string literals are also case sensitive (e.g. " ORM " and " orm " are different values). A Minimal JPQL

What is the Java Persistence API (JPA)?

. These implementations are Object Relational Mapping ( ORM ) tools. The mapping bridges between the data ... you can keep your application portable. The unique benefit of using ObjectDB is that the overhead of an intermediate ORM

What are the main benefits of using ObjectDB?

, eliminating the intermediate ORM layer further accelerates applications. For instance, ObjectDB processes JPQL (JPA Query Language) and JDOQL (JDO Query Language) queries directly, where ORM tools first

JPA Annotations

other JPA annotations are designated for Object Relational Mapping ( ORM ) JPA providers (for mapping between a relational database and an object model and for direct SQL queries): These ORM annotations are silently ignored by ObjectDB.

JPA Lifecycle Events

: The mapping file has to be located either in the default location, META-INF/ orm .xml , or in another location

Database Management Settings

some ORM JPA providers) is defined in the entity class or not. It can be disabled by setting the 

Storing JPA Entity Objects

mapping file: The mapping file has to be located either in the default location, META-INF/ orm .xml

JPA Persistable Types

only useful in applications that use an ORM -based JPA provider (such as Hibernate, TopLink, EclipseLink

Is ObjectDB better than competing object databases?

relational database by using an ORM  JPA provider such as Hibernate, EclipseLink or Open JPA

Auto Generated Values

= GenerationType . TABLE , generator ="tab") @Id long id; } ORM -based JPA providers (such as Hibernate

JPA Named Queries

queries. But, because mapping files are useful mainly for Object Relational Mapping ( ORM ) JPA providers

What is ObjectDB?

or convert objects to records/records to objects using SQL or ORM , as opposed to when using

ObjectDB 2.9 Developer's Guide

knowledge of database programming (SQL, JDBC, ORM or JPA) is not required in order to follow this guide

JPA Annotations for Relationships

Relationships are persistent fields in persistable classes that reference other entity objects. The four relationship modes are represented by the following annotations: Unlike ORM JPA implementations, ObjectDB does not enforce specifying any of the annotations above. Specifying a relationship

Updating JPA Entity Objects

are more portable to ORM JPA implementations and provide better automatic change tracking support. UPDATE

JPA Persistence Unit

that are added to the default META-INF/ orm .xml mapping file. Every annotation that is described in

Locking in JPA

(which is required by some ORM JPA providers) is defined in the entity class or not. Pessimistic Locking The main

Company

and is much faster  than any ORM -based JPA implementation. ObjectDB Software's customers include

Spring Data JPA - PersistenceException thrown

(Method.java:497) at org.springframework. orm .jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:388) at org.springframework. orm .jpa ... / /META-INF/ orm -objectdb.xml: at org.springframework.beans.factory.support

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

ObjectDB Vector orders; } @Entity class Order { } It is true, however, that in ORM -based ... ORM -based implementations. By the way, if you define the reference in Order , you can use an inverse ... above, which is less efficient in ORM -based implementation and requires a JOIN table and a query for navigation

Problem upgrading

.springframework. orm .jpa.JpaSystemException: Failed to set reference value of field property at.co.pjm.tracker ... .channelConfigurationSets using reflection at org.springframework. orm .jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418) ~[spring- orm -4.2.3.RELEASE.jar

Dependency from enhanced classes to the objectDB library

of annotations, but you will have to move the META-INF/ orm .xml file to the project that contains the entity ... & orm .xml) and has a reference to all bundles with entities. Basically this works. But only as long as ... . Can you look at that again? btc_es BTC EmbeddedSystems Try moving the orm .xml file to the bundle

Step 1: Create a Maven Web Project

.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- orm    3.0.5.RELEASE

ObjectDB without javax.persistence

/persistence/ orm _2_1.xsd     javax/persistence/ orm _2_0.xsd     javax/persistence/ orm _1_0.xsd Please check, and if adding them to objectdb-jee.jar solves the problem we can fix it in future releases. support Support

Spring + Maven + persitence.xml

org.springframework. orm .jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:427) org ... .jpa.EMF.createEntityManager(EMF.java:173) org.springframework. orm .jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:445) org.springframework. orm .jpa

Spring Data JPA

.reflect.Method.invoke(Method.java:601) at org.springframework. orm .jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:376) at org.springframework. orm .jpa ... .lang.reflect.Method.invoke(Method.java:601) at org.springframework. orm .jpa

JPA Query language support in OBjectDB / Sub query or nested Query

findByContextID(@Param("contextIdParam") String contextId);   org.springframework. orm .jpa ... ._PersistenceException: Unexpected query token 'SELECT' at org.springframework. orm .jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:321) at org.springframework. orm .jpa

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

. orm .jpa.persistenceunit.SpringPersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence ... .objectdb.jpa.Provider.createContainerEntityManagerFactory(Provider.java:32) at org.springframework. orm ... (LocalContainerEntityManagerFactoryBean.java:224) at org.springframework. orm .jpa.AbstractEntityManagerFactoryBean

Is ObjectDB the only object database that supports JPA?

as an API for Object Relational Mapping ( ORM ), so many JPA features cannot be supported by regular ... help. Please clear my doubt I know JPA is just a Specification and ORM Frameworks like Hibernate ... what is the reason behind it and what are advantages of JPA over Hibernate? Which ORM does Implements best

a second mapping-file is ignored in persistence.xml by enhancer

Hello Support-Team, we have a problem with the enhancer. In the persistence.xml are two mapping-files: META-INF/ orm .xml META-INF/ormreq.xml We start the enhancer and the entities of orm .xml ... how you invoke the Enhancer. Do you use the -pu option to specify a persistence unit in which the second orm

mapping file is not being loaded

;          mil/navy/navo/arf/config/ orm .xml     ... ;          The entities are mapped in the ORM .xml file correctly, as

Mismatch client-server protocol prefix

.springframework. orm .jpa.JpaSystemException: com.objectdb.o.UserException: Mismatch client-server protocol prefix ... . orm .jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517) at org.springframework

Join query problem with new statetment

] DEBUG o.s. orm .jpa.JpaTransactionManager - Should roll back transaction but cannot - no transaction available 2011-07-05 06:40:34.847 ["http-bio-8080"-exec-3] DEBUG o.s. orm .jpa.JpaTransactionManager

Distinct Error

.invoke(Method.java:597) ~[na:1.6.0_20] at org.springframework. orm .jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310) ~[spring- orm -3.0.5.RELEASE

Fetching Collections Puzzle

persistence solution for my project for quite some time now. I have tried every combination of ORM ... one. (I am talking about hibernate and other orm , I have not tried this through ObejectDB, it might work

@Convert is not supported?

support of JPA 2.1 is not complete yet. Particularly, this feature seems to be useful mainly in ORM ... an ORM feature, if it is found to be useful with ObjectDB. support Support I'll explain current

JDBC Driver name

;but mostly relevant also for ORM JPA implementations, such as Hibernate (and HQL), EclipseLink, TopLink, OpenJPA and DataNucleus. ObjectDB is not an ORM JPA implementation but an Object Database (ODBMS

Spring Transactions (@Transactional) within ObjectDB

is one of the entity properties. This was working well with ORM - Hibernate when used with Spring Data / JPA ... how to FlushModeType.AUTO in ORM .xml we are not doing any annotations over our entity. Thanks in advance

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

and eliminates the need for another dependency to an ORM , such as Hibernate, since it implements the JPA ... to avoid coupling it to a specific database. By adding ObjectDB as a database and ORM in a project