ObjectDB ObjectDB

Internal Website Search

61-70 of 138 resultsRefresh

Speeding up reporting queries with size() on list

is between 500ms and 1.2 sec. The same query without counting products runs in 15-30ms each time. My question is - how to speed this type of queries, where you have to count objects on some lists

Database corrupted after schema change

------------------- [1] Page #19753 entry 0 has unexpected field count (7 instead of 5) 0. oid => '567651 ... entry 1 has unexpected field count (7 instead of 5) 0. oid => '559770' 1. deleted => false 2

@ElementCollection query returning extra result per element in collection

what this is for now. The issue in my app is that the 'count' of the records is different ... , but not so easy to add with the 'count' while re-using the same predicates. This is indeed, not a bug Willks William

Optimistic Locking

Counter { private int count; void increase() { count++; } } } For optimistic

Date field Index is corrupted due to time change

.createQuery("SELECT COUNT(r) FROM DateTime AS r");         em.getTransaction().begin();         Long r ... ();         }         q = em.createQuery("SELECT COUNT(r) FROM DateTime AS r");         em.getTransaction

Group by date / time

DAY() in ODB. So, how to build queries similar to something like this: SELECT COUNT(id) FROM ... something like this: SELECT COUNT(id) FROM stats WHERE YEAR(record_date) = 2009 GROUP BY DATE

EmbeddedId with Generated field value

/ mapped superclass. support Support It's a good suggestion. But this way how objectDB would count each ... limit ... Thank you Slinky Silvio Ornano Every object is count once even if it is an instance

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

: 7221069219291554102 (expected 11) [4] Unexpected total object count: 3691044274576634723 (expected 1378) [5] Unexpected total page count: 8719319783396618851 (expected 2816) Page Relation Errors

Issues with JDO Casting & Full Qualified Names

COUNT(e) FROM MyEntity e WHERE ((com.test.F328.EmbeddedB)e.embeddeds.get('test2')).superB = '123 ... WITH EXCEPTION HERE         String query = "SELECT COUNT(e) FROM MyEntity e

Error 990 when querying a class with persistence-capable-superclass

.spiffymap.jdo.JdoDaoBase.count(JdoDaoBase.java:143) JdoDaoBase.java:143 is the last line of the following: Query query = pm.newQuery(); query.setResult("count(this)"); query.setClass(myClass); return

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