About executeUpdate

11-20 of 34Refresh
Forum
4

Not able to update records

when no transaction is active (error 611) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java ... updateCount = query.setParameter("value", userCredential.getRegisteredEmailD()).executeUpdate ... surrounding your executeUpdate with em.getTransaction().begin() to start the transaction and em
Issue
3

Blocked by find

.objectdb.o.OBC.onObjectDBError(OBC.java:1485) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery ... .objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:722) ... 15 more This occured when the app tried ... ); query.executeUpdate(); em.getTransaction().commit(); Unfortunately this meant I could let
Forum
3

Is there a function of "drop table" or "delete from table"?

You can execute a DELETE query:     em.createQuery("DELETE FROM MyEntity e").executeUpdate ... it is "executeUpdate()", query.getresultlist() cause exceptions. Yes, you'd better to put it into ... . The code “createQuery("DELETE FROM MyEntity e").executeUpdate();” works, but it can not reset id to zero
Issue
3

Negative snapshot user count

.jpa.JpaQuery.executeUpdate(JpaQuery.java:722) at rbccm.felix.objectdb.messaging.ObjectDbMessagePipe ... (QRR.java:225) at com.objectdb.o.QRR.b(QRR.java:144) at com.objectdb.jpa.JpaQuery.executeUpdate ... )                         .setParameter("id", id).executeUpdate();                     em2.getTransaction().commit
Forum
3

Unable to execute update query

.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:779) ... 39 ... ");         query.executeUpdate();         em.getTransaction().commit();         em.close();         emf ... e.data = null");         query.executeUpdate();         em.getTransaction().commit
Issue
2

[ObjectDB 2.4.1] Unexpected exception (Error 990)

.executeUpdate(JpaQuery.java:743) at com.sky.epg.repository.AbstractBaseRepository.deleteAll ... ").executeUpdate();         em.getTransaction().commit();         em.close();         emf.close
Issue
2

GC overhead limit exceeded

) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:722) 2) [ObjectDB 2.3.2_04] Unexpected ... .QRR.b(QRR.java:151) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:722) Unfortunately
Forum
2

How to do multithreading with embedded ObjectDB

");                     query.executeUpdate(); //                    Point p = new Point(1, 1 ... ").executeUpdate();     } Your lock object must be one object that is shared by all the threads. 2. Use ObjectDB
Forum
2

Performance and memory usage of queries

FROM Object");   q.executeUpdate(); // <- OUT OF MEMORY   with VM-argument:  -Xmx512m   em ... ();     Query q = em.createQuery("DELETE FROM Object");     q.executeUpdate(); // <- OUT OF MEMORY
Forum
2

Problem with distinct select, order by and equivalent alias/attribute path

from Street s").executeUpdate();         em.createQuery("delete from Location l").executeUpdate