Internal Website Search
51-88 of 88 resultsQuery can't see recently persisted object("here"); } MyObject myObject; try { myObject = query. getSingleResult (); } catch (NoResultException ex | |
enumeration table? how to on pure jpa?). getSingleResult (); Alternatively you can define a special entity class, e.g. GlobalProperty | |
newbie - lots of exeptions.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java:716) at com.prohire.prohire_sync.ProhireQueries | |
Merge with Parent/Child entities not possible); ParentEntity parentEntity = parentEntityQuery. getSingleResult (); entityManager.refresh | |
Unexpected query token 'delete' (SELECT is expected) (error 752) simple codes(see attachment), failed. gzdillon Lai Yang DELETE queries should not be run with getSingleResult ( which is for SELECT queries). Use executeUpdate instead. See this manual page . support Support | |
Online backup in embedded mode fails) at com.objectdb.o.QRY.s(QRY.java:292) at com.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java:648 | |
Broken @ManyToOne reference). getSingleResult (); because Main.CHILD_ID is only part of the primary key now. support Support Hi support | |
EntityManager JPA or JDO impl and different behavior). getSingleResult (); em.close();   | |
Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)) q. getSingleResult (); if (l Integer.MAX_VALUE) return -1; int i = (int) l; return i; } catch (javax | |
Cannot catch a PersistenceException and continue the transaction I try to create a factory that creates new objects just in case it doesn't find the relevant one in the DB. but because query. getSingleResult () fires NoResultException in that case it marks the transaction as one that need to be rolled back. I understood that I can overcome it in several ways | |
Activation key causes database to not start = em.createQuery("objectdb activation", boolean.class). getSingleResult (); support Support Perfect! Thank you. zmirc Mircea Chirac | |
Wrong data stored in time only fields; Long r = (Long) q. getSingleResult ();   | |
createQuery method error Hello, I am learning ObjectDB now. I create a simple Dao method as below: public boolean isJobExist(String name) { TypedQuery query = em.createQuery( "SELECT count(j) FROM MFJob j WHERE j.jobName = :name", Long.class); return query.setParameter("name", name). getSingleResult ()0 ? true | |
user defined backup target("target", new java.io.File("c:\\backup")); backupQuery. getSingleResult (); The code above, for instance | |
JPA does not seem to be db agnostic.where(criteriaBuilder.equal(path, username)); return em.createQuery(query). getSingleResult (); } kasavbere kasav | |
Retrieve latest entry in a time-series the query with a request to return the first result only: return em.createQuery("...").setMaxResults(1). getSingleResult (); support Support | |
How to check that ObjectDb licenses are activated? . createEntityManager (). createQuery ( "objectdb activation" , boolean . class ). getSingleResult | |
Drop in Client/server mode not working) FROM MyEntity e"). getSingleResult ()); em.close();   | |
Online backup with JDO with the code em.createQuery("objectdb backup"). getSingleResult (); But how do I start it if I am using | |
Should derived fields of an EmbeddedId be manually maintained by app code?. getSingleResult (); if (l Integer.MAX_VALUE) return -1; int i = (int) l; return i; } catch (javax | |
database migration) at com.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java:750) at com.example.dao.AplikacijaDAO | |
query hint", Thread.class). getSingleResult (); thread.join();   | |
License State activation", boolean.class). getSingleResult ()); It will not tell you the mode (i.e. OEM | |
java.lang.ClassCastException in OSGi runtime when loading data from DB); Person singleResult = typedQuery. getSingleResult (); System.out.println(singleResult | |
Can't open replicated database.QRR.g(QRR.java:225) at com.objectdb.o.QRR.b(QRR.java:144) at com.objectdb.jpa.JpaQuery. getSingleResult | |
NullPointer when accessing persistent field; a = em.createQuery("SELECT a FROM A a", A.class). getSingleResult ();   | |
unexpected exception:210) at com.objectdb.o.QRR.b(QRR.java:138) at com.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java | |
queries under 2.7.6_4 significantly slower than under 2.7.6(); Thread thread = em.createQuery( "objectdb statistics", Thread.class). getSingleResult (); thread.join | |
Threaded Test - Failed to commit transaction: Unexpected internal exception) at com.objectdb.o.QRR.b(QRR.java:143) at com.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java:645 | |
Exception on comparing array fields against parameters in queries; at com.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java:755) at id | |
Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException EventLogPersistEntry p"); long rows = 0; try { rows = (long) count. getSingleResult (); } catch (final | |
NullpointerException at a normal select When I run the following code: EntityManager em = getEm(); Customer result = null; try { logger.debug("Ident: "+ident); result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident). getSingleResult | |
user defined backup file("name", "Backup"); backupQuery. getSingleResult (); This should create a backup file with the original | |
Getting an error when adding activation code to conf file my"); System.out.println(q1. getSingleResult ()); em.close(); emf.close(); } @Entity public static | |
unexpected exception - in query:210) at com.objectdb.o.QRR.b(QRR.java:138) at com.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java | |
New entity objects are duplicated on merge cascading(query. getSingleResult ()); em.close();   | |
InternalException - error reading field from "queue" database. getSingleResult (JpaQuery.java:654) felixobjectdb Richard Szurgot Could you put the database file | |
Internal Exception.objectdb.jpa.JpaQuery. getSingleResult (JpaQuery.java:723) [objectdb-2.4.4_05.jar:] ... Caused by: java.lang |