ObjectDB ObjectDB

Internal Website Search

61-70 of 138 resultsRefresh
9

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
9

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
9

@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
9

Optimistic Locking

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

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
9

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
9

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
1

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
1

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
1

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