Internal Website Search

1-10 of 38 resultsRefresh

executeUpdate()

Method javax.persistence.Queryint executeUpdate()

Running JPA Queries

queries: executeUpdate">Query.executeUpdate ... (with executeUpdate) DELETE and UPDATE queries are executed using the executeUpdate

DELETE Queries in JPA/JPQL

;executeUpdate">executeUpdate method: createQuery("DELETE FROM Country").executeUpdate">executeUpdate ... >executeUpdate method returns the number of objects that have been deleted by the query.

UPDATE SET Queries in JPA/JPQL

/executeUpdate">executeUpdate method:   Query ... .executeUpdate">executeUpdate(); A  On success - the executeUpdate method returns

Date field Index is corrupted due to time change

) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.executeUpdate ... ;   at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:776)      ... ;   q.executeUpdate();            

Not able to update records

when no transaction is active (error 611) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:758 ... ; int updateCount = query.setParameter("value", userCredential.getRegisteredEmailD()).executeUpdate ... on your own. Try surrounding your executeUpdate with em.getTransaction().begin

javax.persistence.Query

"> int executeUpdate" title="Method of javax.persistence.Query">executeUpdate ()

javax.persistence.TypedQuery

/executeUpdate" title="Method of javax.persistence.Query">executeUpdate ()

ArrayIndexOutOfBoundsException on flush

(OBC.java:1485) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:737) ... 40 more Caused ... :151) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:722) ... 40 more executeUpdate(); query = em.createQuery("DELETE FROM WorkflowInstance w"); query.executeUpdate

unclear syntax for update query

(p, 100000).executeUpdate">executeUpdate(); or ... /setParameter_String_Object">setParameter(p, 100000).executeUpdate">executeUpdate(); support Support it still does not work, using (directly in