ObjectDB ObjectDB

Internal Website Search

41-50 of 138 resultsRefresh
14

IN expression in a Criteria Query

: SELECT a FROM Account a GROUP BY a.code HAVING COUNT(a) < 2 It throws following exception: com ... Account a GROUP BY a.code HAVING COUNT(a) < 2 This is an invalid query. In a grouping query ... value combination). Aggregate calculations (count, sum, avg, max, min) that are carried
14

Query Method NullPointerException on List iteration

categoryName Expected query outcome: SupplierName Category1_Count Category2_Count Supplier1 5 13 ... Code: public int countCategory(String categoryName) { int count = 0; for (Product p : products) { if (p.getCategory().getCategoryName().equals(categoryName)) { count
14

how to query by properties of onetomany relations? (Error 990)

();         Query query = em.createQuery(             "select count(f) from Foo f where f.bars.name = :name");         query.setParameter("name", "aaa");         System.out.println("Count ... : select count(f) from Foo f where f.bars.name = :name select count(f) from Foo f join f.bars
13

Error using query with MAX() function

% 60% 70% 80% 90% 100% Global Value Errors ------------------- [1] Unexpected total object count ... .entities.Notes - Unexpected object count: 59999 (actual 59971) Page Relation Errors ... if( (count % config.getUpdateFreq()) == 0) { em.getTransaction().commit
13

Exception on creation when running multithreaded

running a count query and it returns 800 as expected, then I run the following query "select $1 ... do a count on Organisations and get 800 and then I do "select $1 from Organisation $1" and get the 803 ... getting back 0 objects, even though the count before it shows there are 800 objects and then the second
13

Insertion Speed Rate and Batch Load

em = emf.createEntityManager();                 int count = 1000000;         long startTime = System.currentTimeMillis();         em.getTransaction().begin();         for (int i = 1; i <= count ... = System.currentTimeMillis() - startTime;         long rate = count / time * 1000;         System.out.println
13

Visibility of changes in Transaction is not visible to a JPA QL Query

go to count them; TypedQuery<Long> q = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class ... (EntityManager em) {   TypedQuery<Long> q = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class ... You are right! I was doing a count with the flush mode auto on... If I don't I can't see any
13

OEM licencing limitation

how is the number of persistent objects counted. We unfortunately don't have the objectdb file anymore ... (); } Could you please confirm us, how the licencing works in this case? Are only internal entities counted ... classes and instances of unsigned classes are counted. In this case, if test is enhanced
2

Doctor bug?

- Unexpected object count: 1 (actual 0) [2] net.pocketservices.athene.objects.persistent.HotUser - Unexpected object count: 1 (actual 0) [3] net.pocketservices.athene.objects.persistent.Person - Unexpected object count: 2 (actual 0) [4] net.pocketservices.athene.objects.persistent.ReadPointer
2

Corrupt database page

------------------ [1] com.btc.ep.base.bl.internal.dmos.message.MessageImpl - Unexpected object count: 350093 (actual 350090) Page Content Errors ------------------- [1] Page #11436 entry 0 has unexpected field count ... has unexpected field count (44 instead of 6) com.btc.ep.base.bl.internal.dmos.message.MessageImpl(375

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