Fast Object Database for Java - with JPA/JDO support

Internal Website Search

11-20 of 200 resultsRefresh
24

Update more than 10000 entities by an update query fails

Hello, following example tries to update more than 10000 entities by an update query. But only the first 10000 elements are updated. What's wrong? public class updateMoreThan10000Elements ... .setFlushMode(FlushModeType.AUTO); { String query = "UPDATE " + MyModelElement.class
22

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
22

What is new in ObjectDB 2.0?

All about What is new in ObjectDB 2.0? in Java/JPA database - explanations, examples, references, links and related information.
22

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
20

Updating Entities

with Entities not sending their updates to each other. I have two Entities in question at the moment ... . However, once a change has been made to paygradeDB after this visual load - the Employee table refuses to update ... also know that my code handles updating a table accurately when the Overview controller is visible
19

Locking in JPA

update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking ... that has to be updated or deleted is checked. An exception is thrown if it is found out that an update is being performed on an old version of a database object, for which another update has already been committed
18

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear ... a container the updated Entities. Scenario 1: Disabled L2 Cache, updating elements using UPDATE-Query ... database - Actual result: No changes are visble. Scenario 2: Disabled L2 Cache, updating elements using
18

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

NEW ...) and UPDATE JPQL queries on the DB via the RMI interface. What we noticed is that once we UPDATE a record from the client (via the RMI interface), all SELECT NEW ... queries ... via RMI after the update. For example SELECT COUNT(*) ..., or SELECT r FROM ... all work fine. DB Doctor
18

Bulk update of embedded entities in linked list

Hi, I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query ... . Example: int updateCount = em.createQuery( "UPDATE EntityA a " + "SET a.EntityBList.Column1 = :value ... " exception. How can I do update statements like that? Kind Regards, Roland r.steber Roland JPA Update queries
18

Cannot save or update entity on Spring App

update() { return em.createQuery("...").executeUpdate() > 0; } } While the fetching ... , nor it refreshes with its new id. And the update method fails because of this: [ObjectDB 2.8.0] javax.persistence.TransactionRequiredException Attempt to run update query when no transaction is active [PMImpl

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support