Internal Website Search

1-50 of 200 results

ObjectDB Website - Terms and Conditions of Use

1. Terms By accessing and using this web site , you agree to be bound by these web site Terms ... from using or accessing this site . The materials contained in this web site are protected by ... one copy of the materials (information or software) on ObjectDB Software's web site for personal, non

UPDATE SET Queries in JPA/JPQL

Existing entity objects can be updated , as explained in chapter 2 , by: Retrieving the entity objects into an EntityManager . Updating the relevant entity object fields within an active transaction. Applying changes to the database by calling the commit method. JPQL UPDATE queries

Updating JPA Entity Objects

persistence, which means that changes are detected and handled automatically. Transparent Update ... (); The entity object is physically updated in the database when the transaction is committed. If the transaction is rolled back and not committed the update is discarded. On commit the persist operation

Schema Update

the specified schema updates every time a database is opened. When using client-server mode ... . The following element demonstrates the supported schema update abilities: The hierarchy, as demonstrated

ObjectDB License

a Server License Site License ObjectDB 2.x Site License costs £2,500  and includes all version 2.x updates . A site license covers installation of ObjectDB on all computers of one company or ... Server License costs £500  and includes all version 2.x updates . A server license covers

Privacy Policy

or practices of any third party sites or services. Changes to this Privacy Policy We may update ... Last updated : 13 January 2023 This Privacy Policy describes Our policies and procedures ... of electronic communication, such as a mobile application's push notifications regarding updates or

BIRT/ODA ObjectDB Driver

... In the [Work with] field enter the ObjectDB update site URL: http://www.objectdb.com/eclipse

Upgrading Server license to a Site license

I should be interested to know if it possible to upgrade from a single server license to a site license by paying the difference. jonb Jon Brumfitt It is possible. Details have been sent to you in ... ? jonb Jon Brumfitt If you have a site license you can activate additional servers when necessary

Feedback on new site

Font size on new site is huge! This is especially a problem when browsing the api.   dmoshal David Moshal Difficult to find info on ODB1, including api javadocs. dmoshal David Moshal Thank you for your useful comments. The ObjectDB 1 manual is available here . You can use the JDO menu

Auto activiation of on-site licence for virtual VMs

In 2021 we asked about auto activiation of an on- site licence for adding and removing of virtual VMs. Has this feature been implemented? Kevin Kevin Pfaff It has not been implemented. However, you can run com.objectdb.Activator.main(null) from your application, redirect standard input to provide

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 ... = " UPDATE " + MyModelElement.class.getName() + " c " + "SET c.visible = true"; Query q = emTwo

Step 1: Install BIRT and ObjectDB Driver

selecting Help Install New Software... In the [Work with] field enter the BIRT update site url. http://download.eclipse.org/birt/ update - site /4.5  (Eclipse Mars) http://download.eclipse.org/birt/ update - site /4.6  (Eclipse Neon, Oxygen) and press ENTER. Click the Select All button to select

Updating Entities

with Entities not sending their updates to each other. I have two Entities in question at the moment ... after this visual load - the Employee table refuses to update the displayed Paygrades. Initially I ... handles updating a table accurately when the Overview controller is visible. That said - those updates

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

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 ... and from remote clients via RMI after the update . For example SELECT COUNT(*) ..., or SELECT r FROM

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 ... ;                   " UPDATE EntityA a " +     ... do update statements like that? Kind Regards, Roland r.steber Roland Steber JPA Update queries

Cannot save or update entity on Spring App

; @Transactional     public boolean update () { return em.createQuery ... method does not create a new entity, 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

UPDATE query to set a new field after schema change

) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated . I then save ... UPDATE queries can only update existing fields, and old objects that do not have the fields are not

Updating existing persistence entries

: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em. update () method. I found examples for updating objects in the knowledge base, but they make use of a pe ... the new manual that also includes instructions on how to update and object  using JPA. support

Running JPA Queries

other case. In addition, the Query interface defines a method for running DELETE and UPDATE queries: Query.executeUpdate - for running only DELETE and UPDATE queries. Ordinary Query Execution ... that these exceptions might be thrown, they have to be caught and handled. DELETE and UPDATE Query Execution

javax.persistence.MapKeyJoinColumn.updatable

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.MapKeyColumn.updatable

JPA Annotation Attribute in javax.persistence.MapKeyColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.OrderColumn.updatable

JPA Annotation Attribute in javax.persistence.OrderColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.Column.updatable

JPA Annotation Attribute in javax.persistence.Column boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0

javax.persistence.JoinColumn.updatable

JPA Annotation Attribute in javax.persistence.JoinColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0

SELECT clause (JPQL / Criteria API)

for managed entity objects, including transparent navigation to other database objects, transparent update ... that update or delete entity objects, in which managed entity objects are needed. Managed entity ... and transparent update detection), but they are more lightweight, they are built faster and they consume

Database Replication and Clustering

, which are limited to READ operations. Any update to the master database is automatically  ... these details to connect to the master server in order to listen to updates . The updates

JPA Query Structure (JPQL / Criteria)

( update and delete queries have a slightly different form). The other JPQL clauses, WHERE , GROUP BY , HAVING and ORDER BY are optional. The structure of JPQL DELETE and UPDATE queries is simpler: DELETE FROM ... [WHERE ...] UPDATE ... SET ... [WHERE ...] Besides a few exceptions, JPQL is case insensitive

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... (); for (int i = 0; i = 100) { em. remove (p); // delete entity } else { p.setX(p.getX() + 100); // update ... coordinate is greater or equal to 100 are deleted. All the other Point objects are updated . Chapter 3

Shared (L2) Entity Cache

. BYPASS - cache is not updated with new data. CacheStoreMode . USE - new data is stored in the cache ... the cache in retrieval operations. In this case, an entity object that is already cached is updated ... when the database might be updated by other applications (or using other EntityManagerFactory instances

Working with JPA Entity Objects

requires using entity objects for many operations, including storing, retrieving, updating and deleting ... is detected by the owning EntityManager and the update is propagated to the database on transaction commit. See the Updating Entities section for more information about making changes to entities

Database Management Settings

most database updates (except schema updates ). The element The drop attribute of the element specifies

Obtaining a JPA Database Connection

an EntityTransaction Operations that modify database content, such as store, update , and delete ... content, such as persist and remove . Database updates are collected and managed in memory and applied

Database Schema Evolution

object is only updated to the new schema when that entity object is stored to the database ... must be specified explicitly in the configuration to avoid data loss. The Schema Update section in chapter 6

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete ... storing, retrieving, updating and deleting Point objects. To run the sample program of this chapter in

JPA Exceptions

subclasses of PersistenceException . For example, an attempt to update the database with no active transaction is represented by: Database update failures that require transaction rollback are represented by

JPA Lifecycle Events

the EntityManager . @PostUpdate - after updating an entity in the database (during commit or flush

FROM clause (JPQL / Criteria API)

, SOME, SQRT, SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE, TYPE, UNKNOWN, UPDATE , UPPER, VALUE

Database Doctor

without its recovery file or recording directory. Power failure when the database is being updated

ObjectDB 2.9 Developer's Guide

to store, retrieve, update and delete database objects.        

Database Connection using JPA

); EntityTransaction Operations that affect the content of the database (store, update , delete

Entity Management Settings

should be tracked automatically in enhanced classes. See the Updating Entities section in chapter 3 for more details.

ObjectDB Object Database Features

 from other managed objects. Transparent update - changes are detected automatically. Code

javax.persistence.criteria.CriteriaUpdate

JPA Interface CriteriaUpdate Type Parameters: - the entity type that is the target of the update ... for performing bulk update operations using the Criteria API. Criteria API bulk update operations map directly to database update operations, bypassing any optimistic locking checks. Portable applications

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 ... database - Actual result: No changes are visble. Scenario 2 : Disabled L2 Cache, updating elements

UPDATE query cannot set a new field after schema change

) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated . I then save ... UPDATE queries can only update existing fields, and old objects that do not have the fields are not

[ODB1] Chapter 6 - Persistent Objects

is only updated if it has changed since the last store. An object name must be unique in the database. The bind ... is physically updated : pm.currentTransaction().begin(); Person person = (Person)pm.getObjectById(oid, false ... action is taken by ObjectDB to update the object lock (for example from READ to WRITE). Locks

[ODB1] Chapter 5 - JDO Connections

storing, retrieving, updating and deleting database objects, are provided in the next chapter ... . In JDO, operations that affect the content of the database (store, update , delete ... . When using optimistic transactions, objects are not locked. Therefore, two transactions may update

[ODB1] Chapter 2 - A Quick Tour

file does not exist in that path, a new database file is created automatically. To enable updating ... Updates are physically applied to the database when the transaction is committed (line 47). Lines

ObjectDB 1.0 Manual

and transactions in JDO. Chapter 6 - Persistent Objects Shows how to store, retrieve, update