About getSingleResult

51-60 of 93Refresh
Forum
1

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
1

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
Forum
1

Remove a modified entity cause an optimistic lock exception

").getSingleResult();         e.increaseValue();         e = (MyEntity)em.createQuery("select m from MyEntity m").getSingleResult();         em.remove(e);         em.getTransaction().commit
Issue
1

Server crash - Mismatch client-server protocol prefix

-server protocol prefix (error 523) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery ... ) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:716) ... 27 more   I
Forum
1

Tutorial issue

) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:754) at tutorial.Main.main(Main ... .getSingleResult(JpaQuery.java:747) ... 1 more   As the error message indicates you have two different
Forum
1

TYPE Expression

) at com.objectdb.o.OBC.onObjectDBError(OBC.java:1485) at com.objectdb.jpa.JpaQuery.getSingleResult ... .jpa.JpaQuery.getSingleResult(JpaQuery.java:695)   any idea??? Alex Even this simple code causes
Forum
1

Using the wrong class to access a database

Point p"); System.out.println("Total Points: " + q1.getSingleResult()); // 2 Query q2 ... .getSingleResult()); // 3 get all points TypedQuery query = em.createQuery("SELECT p FROM
Issue
1

Unexpected error when loading all entity instance

.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:750) at com.querydsl.jpa.impl.AbstractJPAQuery.getSingleResult(AbstractJPAQuery.java:183) at com.querydsl.jpa
Forum
1

Activation key causes database to not start

: boolean isActivated = em.createQuery("objectdb activation", boolean.class).getSingleResult(); Perfect! Thank you. CK1000 zmirc
Forum
1

Broken @ManyToOne reference

.createQuery("SELECT  e FROM Child e", Child.class).getSingleResult(); because Main.CHILD_ID