ObjectDB ObjectDB

Internal Website Search

51-60 of 107 resultsRefresh
9

Not able to update records

= query.setParameter("value", userCredential.getRegisteredEmailD()).executeUpdate(); And called method ... (userCredential, sessionID)); int updateCount = query.setParameter("value", userCredential
9

Eager Fetch is not stable for collection or map types?

.setParameter("id", id).getResultList();     if(result.size() > 0) {       Game g = result.get(0 ... Game k where k.id=:id", Game.class); List<Game> result = query.setParameter("id", id
9

Getting sales quantity per country with a query, an idea anyone?

.getPaidTimeD() " + "BETWEEN :fromD AND :toD " + "GROUP BY ord.getCountry() "); q2.setParameter("fromD", from.getTime()); q2.setParameter("toD", to.getTime()); List<Object[]> res = q2.getResultList
9

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

:query OR m.myText LIKE :query"); q.setParameter("query", "%myQuery%"); I ... :query"); q.setParameter("query", "%myQuery%"); I don't get any error! The order of the WHERE clauses
9

Problem with Criteria Querys

.createQuery(q);   query.setParameter(p1, 100.0);   query.setParameter(p2, 150.0);   List resultList
9

Get multiple entities by Id

= em.createQuery("SELECT e FROM MyEntity e WHERE e.id IN :id");         query1.setParameter("id ... ");         query2.setParameter("id",idsToRequest);         List resultList2 = query2.getResultList
9

Object as parameter results in exception

= getEntityManager().createQuery(c);   q.setParameter(idParam, primaryKey);   q.setParameter
9

Bulk update of embedded entities in linked list

" + "where a.uid = :uid") .setParameter("value", 100.0) .setParameter("uid", 12345) .executeUpdate
1

unclear syntax for update query

"); int updateCount = query.setParameter(p, 100000).executeUpdate(); or with no identification variable ... / 10 " +       "WHERE population < :p");   int updateCount = query.setParameter(p, 100000
1

java 8 LocalDateTime is not working in query

ORDER BY t.date"); query.setParameter("startDate", LocalDateTime.now()); query.setParameter

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