ObjectDB Database Search

1-50 of 200 results

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

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

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

jakarta.persistence.OrderColumn.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyColumn.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyJoinColumn.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumn.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.VALIDATION_GROUP_PRE_UPDATE

Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration VALIDATION_GROUP_PRE_ UPDATE Target groups for validation at PreUpdate . Since: Jakarta Persistence (JPA) 1.0

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

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

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

Running JPA Queries

DELETE and UPDATE queries: Query.executeUpdate - for running only DELETE and UPDATE queries. Ordinary ... possibility that these exceptions might be thrown, they have to be caught and handled. DELETE and UPDATE Query Execution (with executeUpdate) DELETE and UPDATE queries are executed using the executeUpdate

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

jakarta.persistence.criteria.CriteriaUpdate

: - the entity type that is the target of the update Super Interfaces: CommonAbstractCriteria The CriteriaUpdate interface defines functionality for performing bulk update operations using the Criteria API. Criteria API bulk update operations map directly to database update operations, bypassing any

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. This chapter contains the following sections

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

jakarta.persistence.StoredProcedureQuery

back only via INOUT and OUT parameters as well as the most general case (multiple result sets and/or update ... if the first result is a result set, and false if it is an update count or there are no results ... , the getUpdateCount method can be called to obtain the pending result if it is an update count. The getUpdateCount

JPA Lifecycle Events

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

FROM clause (JPQL / Criteria API)

, SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE, TYPE, UNKNOWN, UPDATE , UPPER, VALUE, WHEN, WHERE. JPQL

Database Doctor

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

ObjectDB 2.9 Developer's Guide

ObjectDB. hows how to use JPA to store, retrieve, update and delete database objects. Explains

Database Connection using JPA

(properties); 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

jakarta.persistence.EntityManager

that there is no explicit " update " operation; since an entity is a managed object, modifications ... ., for update or delete. If the query is not an update or delete query, query execution will result in ... for executing a criteria update query. Parameters: updateQuery - a criteria update query object Returns

jakarta.persistence.LockModeType

of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update ... attempting to update the entity data. A lock with LockModeType.PESSIMISTIC_READ can be used to query ... update failure among concurrent updating transactions. The persistence implementation must support

jakarta.persistence.TypedQuery

) explains how to use TypedQuery . Public Instance Methods int executeUpdate () Execute an update or delete statement. Inherited from Query Returns: the number of entities updated or deleted. Throws ... if there are no results. Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or

jakarta.persistence.Query

executeUpdate () Execute an update or delete statement. Returns: the number of entities updated or deleted ... - if called for a Jakarta Persistence query language UPDATE or DELETE statement. PessimisticLockException ... for a Jakarta Persistence query language UPDATE or DELETE statement. PessimisticLockException - if pessimistic

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