ObjectDB ObjectDB

Internal Website Search

41-50 of 102 resultsRefresh
10

Cast exception?

).getSingleResult(); Where the query is a NamedQuery store in Player class file: @NamedQuery(name="Player ... = query.getSingleResult(); Without any error. So the only error occurring is the casting
10

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
10

Internal exception when updating date filed (TemporalType.DATE)

Person p");                 return (Long)countQuery.getSingleResult();             } catch (javax ... = (long) countQuery.getSingleResult(); if (personsCount == 0
10

Date field Index is corrupted due to time change

= (Long) q.getSingleResult();         em.getTransaction().commit();                 System.out.println ... ().begin();         r = (Long) q.getSingleResult();         em.getTransaction().commit
10

Bulk Delete and Update - best practice?

("SELECT COUNT(d) from CacheData d", Long.class); long rows = q.getSingleResult ... CacheData d", Long.class); rows = q.getSingleResult(); System.out.println(String.format("Found
10

TYPE Expression

) at com.objectdb.o.OBC.onObjectDBError(OBC.java:1485) at com.objectdb.jpa.JpaQuery.getSingleResult ... .java:230) at com.objectdb.o.QRR.b(QRR.java:151) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery
2

UPDATE statemen crash when i put the WHERE clause.

]) .setParameter("grupa",linie.get(2)).setParameter("curs","Programare avansata").getSingleResult ... .get(2)).setParameter("curs", "Programare avansata").getSingleResult()); } if (updateEm
2

Issues with JDO Casting & Full Qualified Names

'";   System.out.println("4: " + em.createQuery(query).getSingleResult());   em.close();   emf.close ... : " + em.createQuery(query).getSingleResult());         em.close();         emf.close
2

ObjectDB can't be activated

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

Unexpected error when loading all entity instance

.JpaQuery.getSingleResult(JpaQuery.java:750) at com.querydsl.jpa.impl.AbstractJPAQuery.getSingleResult

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support