About getSingleResult

41-50 of 91Refresh
Forum
2

Internal exception when updating date filed (TemporalType.DATE)

");                 return (Long)countQuery.getSingleResult();             } catch (javax.persistence ... Person p"); long personsCount = (long) countQuery.getSingleResult
Issue
2

InternalException using 2.3.7_12

.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:716) at sun.reflect.GeneratedMethodAccessor62 ... ) at $Proxy56.getSingleResult(Unknown Source) at com.contextspace.dao.party.impl.EntitlementDAOImpl
Issue
2

Issues with JDO Casting & Full Qualified Names

'";   System.out.println("4: " + em.createQuery(query).getSingleResult());   em.close();   emf.close ... ).getSingleResult());         em.close();         emf.close();     } } @Entity final class
Forum
2

Left join fetch behaviour doesn't retrieve children?

.class);                MyEntity myEntity = query.getSingleResult();                 // Ok my em ... .class);   MyEntity myEntity = query.getSingleResult();   // Ok my em is now closed, let's
Forum
2

License Activation Change and Checking Activation

).getSingleResult(); This query always returns false in my case. The server is definitely activated. It allows ... ) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:747) Sorry, hopefully build 2.5.5_03 should work fine. zmirc mosi0815
Forum
2

Merge Issue: Attempt to reuse an existing primary key value

a FROM A a", A.class).getSingleResult();         Assert.assertEquals(1, a.list.size());         em ... .createQuery("select a from A a", A.class).getSingleResult();         Assert.assertNotNull
Forum
2

Object comparation never matches

)                 .setParameter("principal", authentication.getPrincipal()).getSingleResult ... )"  on getSingleResult PhoneNumber contains exactly 2 fields. So I'm sure that both objects are same. What am I
Issue
2

ObjectDB can't be activated

activation", boolean.class).getSingleResult()); Result is "false". Also when trying to create ... activation", boolean.class).getSingleResult()); // Try to initialize the database with more than 10
Forum
2

Potential ObjectDB bug

.jpa.JpaQuery.getSingleResult(JpaQuery.java:757) [objectdb.jar:] at com.example.dao.TvrtkaDAO ... :] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:757) [objectdb.jar:] at com.example
Forum
2

Problem upgrading

.onObjectDBError(OBC.java:1504) ~[objectdb-2.6.6.jar:na] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery ... ] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:750) ~[objectdb-2.6.6.jar:na] ... 120