ObjectDB ObjectDB

Internal Website Search

71-80 of 138 resultsRefresh

ODB-WeakRefPurger threads not closing at all

Connection (using JDO and PersistenceManager) and not closing any of it. I've counted the DB connections during whole run of the application and it was +- the same as count of live WeakRefPurger

Optimistic Locking

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

Index on a low cardinality column

(e.g., a count query, as part of a composite index, etc.), so the recommendation is to try a simple ... . For example, an index on a gender field can be helpful in count queries that only return the numbers

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

mappedSuperClass and subClass Duplicates

However, it appears that the super classes in the explorer count toward the ten (10) table limit for the free ... , DataNucleus, etc.). Accordingly, a mapped superclass is counted as an entity class. support Support

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

Help with 'not like/lower' query

Criteria with a combination of LOWER/UPPER - NOT LIKE: SELECT COUNT($1.id) FROM User $1 WHERE ($1.owningCompany=:p1) AND LOWER($1.email) NOT LIKE :p2 So in essence, I'm trying to do a count

Replication error - parsing objectdb config

and then attempts to count the number of Points using a connection to the slave database ... replicatedQuery = replicatedManager.createQuery("SELECT COUNT(p) FROM Point p"); System.out.println

Unexpected error when loading all entity instance

object count: 1041631 (expected 1041630) BTree Value Errors ------------------ [1] com.mvolution.domain.entities.misc.LogEntry   - Unexpected object count: 773 (actual 772) Page Relation

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