ObjectDB Database Search

1-50 of 68 results

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

Multiple Collection Fields not update correctly

. But when updating (merging existing record) somehow the rotation overrides the position. I

Getting Unexpected internal exception when updating entity in MEM db

.java:307) at org.vn.radius.cc.server.db.RtDB. Update (RtDB.java:101) ... 10 more Caused by: java.lang

Update Entity references if we change the type of an entity

will be committed. So after the database update your application can be used with this option

Schema-Update: Rename superclass and remove one subclass

Schema-Update: Rename superclass and remove one subclass

SELECT clause (JPQL / Criteria API)

, including transparent navigation to other database objects, transparent update detection , support ... to update and delete, which require managed entities. Managed entities can, however, be returned from ... of managed entities (for example, transparent navigation and transparent update detection

Database Management Settings

can be used for recurring queries with different arguments and are not affected by most database updates , except for schema updates . The element The drop attribute of the element specifies a comma

Installing a VM security fix leads to inactive DB

we have to create new keys for all of them. We sometimes have to create new keys if we update to a newer ... of license keys for a site license is not ideal to say the least. There has to be a better way ... of your device change) please provide more details. support Support We have a site license

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning ... the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf ... code is per machine. Use your site license to generate multiple activation codes. You may also specify

JPA Lifecycle Events

is updated in the database (during a commit or flush operation). @PreRemove : Invoked when an entity

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

zip file or JAR manifest missing

The codes is ok in MySQL, but not in ObjectDB. Before update a value, my threads will check ... Yang Maybe the objectdb.jar in one site is corrupted (e.g. copied by FTP in ASCII mode instead

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

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

unclear syntax for update query

the syntax for selective update is unclear as the syntax in the documentation seems to be wrong. Query Update Action Set transferred = 0 where a.objectsInCharge.nodePath like "/(PR)W4455NS01 ... ===================== Unexpected query token 'a' Update Action Set transferred = 0 where == a

UPDATE statemen crash when i put the WHERE clause.

Hello, i have a problem with a UPDATE statement. When i run the code without WHERE clause the cod ... ().begin() ; updateEm.createQuery( " update Record as n set n.lab_points=:points where n.student.nume=:nume ... this update query is not supported, but a better error message is required. If you can post the full stack

jakarta.persistence.ForeignKey

: FOREIGN KEY ( {, } ... ) REFERENCES [ ( {, } ... ) ] [ ON UPDATE ] [ ON DELETE ... will generate foreign key constraints whose update and delete actions it determines most appropriate ... element is not specified, the provider will generate a constraint whose update and delete actions

jakarta.persistence.FlushModeType

TypedQuery object, the persistence provider is responsible for ensuring that all updates to the state ... this by flushing updates to those entities to the database or by some other means. On the other hand, if COMMIT is set, the effect of updates made to entities in the persistence context on queries

Deadlock on Schema Update during Multithreading activity

Deadlock on Schema Update during Multithreading activity

jakarta.persistence.JoinColumn

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

jakarta.persistence.MapKeyColumn

boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by

jakarta.persistence.MapKeyJoinColumn

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

ObjectDB licencing rules

, however to install it on the same machine with other environments (virtual OS, etc.) Our site and OEM licenses enable unlimited number of installations (either in one site or worldwide, respectively

Pessimistic Lock Timeouts setting

on stale updates . Willks William Support of pessimistic lock timeout setting ( javax.persistence ... to update object com.x.y.z.ProductCodeTracking:1 - locked by another owner (error 672) And finally ... ? support Support My apologies, I haven't updated this thread. I have not got the issue again and I

jakarta.persistence.criteria.CriteriaBuilder.createCriteriaUpdate(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaUpdate createCriteriaUpdate (    Class targetEntity ) Create a CriteriaUpdate query object to perform a bulk update operation. Parameters: targetEntity - target type for update operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.ManyToOne

= false) @JoinColumn(name = "CUST_ID", nullable = false, updatable = false) public Customer

joining of tables

Hi In objectdb site i found : Note: This ORM/SQL annotation is silently ignored by ObjectDB so i want  join tow table and generate a third table. Ex:  table 1: employee    table 2: address  and the generate table will be table 3: emp_add employee: e_id, e_name address: add

Problem on JPA Merge Entity.

). The statement update don't throw exception. And when i try to reload statement the value i have set before ... update . The statement's property is typed by a class that is a superclass of the newSingleValue ... a new component, save new component, assign component to statement and update statement. Works

Not releasing locked MST object

update (e.g. a new type is found) and automatic index rebuilding (e.g. a new index is found or indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding ( update ) and see if it helps. Later (after the schema update was processed) you should enable it again. Let

Optimistic locking: prevent version increment on entity collection attribute

the version. Otherwise the version will be updated , and currently you cannot disable this update . Could you please explain the reason for avoiding this object version update ? support Support Thank ... , it makes sense for the version of the parent entity to be updated because order lines are an intrinsic

jakarta.persistence.Persistence.PERSISTENCE_PROVIDER

.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0

ArrayIndexOutOfBoundsException on flush

to managing large objects. Do you use update queries? Update queries are new and maybe they do not handle large objects correctly. support Support I've uploaded the odr directory to the ftp site ... out the build 08 being the cause - i will reapply this update as the same problem seems to occur

Incremental online backup

create a whole new copy of the DB, but " updates " an existing backup? This behavior would make ... is the incremental backup would not just update and replace the previous backup, but keep the diff from ... would not just update and replace the previous backup, but keep the diff from the previous backup

[ODB1] Chapter 6 - Persistent Objects

is already in the database, the new name is assigned to it but its content is only updated if it has changed ... . When the transaction is committed, the content of that object in the database is physically updated : pm ... ObjectDB to update the object lock (for example from READ to WRITE). Locks are released

Server crash - Mismatch client-server protocol prefix

of the production database.  I will be taking the production site offline tonight so I can run ... after eliminating the memory and index issues? Update : Apparently this exception is the result

Removing objects where ManyToMany relationships exist

because the non owner side (the mapped by side) is updated automatically. support Support Thank ... are usually slower. On update - they may be slightly faster, mainly if they are very big. Notice

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

the problem (thanks to good old AI :)). Updated bug report attached.  ObjectDB throws a  ... Evolution  - for automatic schema evolution. Schema Update  - for migrations that involve

How to Use a SF with extended Persistence Context?

GuestUpdater and use its update (String name) method instead of the persist (String name) method ... for the guest in the DB. if it finds one it updater his date to the current date. if not, it stores a new

Failed to commit transaction: Attempt to commit a rollback only transaction

locking is off dmoshal David Moshal update 1: problem persists if optimistic locking set to true in config file update 2: problem goes away with this check:         

Mismatch client-server protocol prefix

. That's all. Basically this also updated all the Spring libraries to a newer version and maybe the tomcat ... , thanks for updating . The "Attempt to reuse an existing primary key value" exception is thrown

Migration problem

(columnDefinition = "timestamp default '2020-04-10 20:47:05.967394'", updatable = false) protected LocalDateTime createdDate; @CreatedBy @Column( updatable = false) protected Integer createSicil

ObjectDB 1.0 Manual

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

File lock exception on odb$

tried to upload the databases to the ftp site but I'm unable to connect - is it still available

Unexpected exception (Error 990) com.objectdb.o.InternalException

;     System.gc();         // Update ... ; em.getTransaction().begin();         embeddable. update ();   ... ;  void update () {             x++;  

retrieval again and again started

If there are no more retrieval errors it is excellent news. Thank you for the update . support Support update ... then we can close this issue. It can be re-opened if something changes. Thank you for the update . support ... -Georg Zwicker Thank you for the update . Note that posts #1 to #7 are about the "SectionClassifier

Can't open replicated database

for a query (just read, no update ) but it fails with the error below. The code I'm using is (user & password ... is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in read ... to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ab(SHN

new objects not available in mappedBy associations

This seems to be the normal behavior - according to JPA the application has to update both sides in order to have a synchronized bi-directional relationship. In practice, however, the mapped side will be updated ... object after the transaction is committed (or after the update and before commit, if your EntityManager

ObjectDB 2.5.1

FETCH to act as LEFT JOIN in path expressions. Updated the PDF manual. Fixed a possible deadlock on Schema Update during Multithreading activity ( issue #1139 ). Fixed a bug in loading mapped (inverse

Best practice for history tracking

the update operation, clone the object, update the old one (if end field is used) and save the clone

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

condition of running a query in a transaction with uncommitted flushed updates , where these flushed updates