ObjectDB ObjectDB

Internal Website Search

51-60 of 138 resultsRefresh
11

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
11

Replication Issue

");         EntityManager em = EMF.createEntityManager();         int count = 0;         while( true )         {             DummyEntity x = new DummyEntity(String.valueOf(count));             em.getTransaction ... ();             System.out.println(count +":" +x.toString());             Thread.sleep(1000);             count
10

JPQL keyword in entity - what to do?

.type.name, count(p.id)) from Product as p group by p.type.name I got this exception: com.objectdb ... .hplxtool.model.ResultData(p.type.name, count(p.id)) " + "from Product as p group by p.type.name ... .model.ResultData(p.type.name, p.done, count(p.id)) from Product as p group by p.type.name,p
10

Bulk Delete and Update - best practice?

the following test I'm expecting the second row count to be 0 if the database is dropped but that doesnt ... ("SELECT COUNT(d) from CacheData d", Long.class); long rows = q.getSingleResult ... ); em.close(); em = emf.createEntityManager(); q = em.createQuery("SELECT COUNT(d) from
10

composite index not used in query

count(a) from Action a JOIN a.objectsInCharge a1 WHERE ((a1.classIdentifier = '(OP)' and (a1 ... : count(a). Step 5: Apply selection ----------------------- Apply selection and prepare final ... count(a) FROM Action a WHERE a.state = 3 AND a.subType = 3 AND a.type = 0 AND a.startDate > ?1
2

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

Query count = em.createQuery("SELECT COUNT(p) FROM EventLogPersistEntry p"); long rows = 0; try { rows = (long) count.getSingleResult(); } catch (final PersistenceException
2

com.objectdb.o.InternalException: java.lang.NullPointerException

: SELECT COUNT(item.sysID) FROM CUIT item WHERE ( (item.sysStatus.sysID=1) AND (item.razonesSociales ... I get a com.objectdb.o.InternalException: java.lang.NullPointerException SELECT COUNT(item.sysID ... , because without no data I guess that a "SELECT COUNT(item.sysID) FROM Nosis item WHERE..." query is not going
2

Unexpected exception (Error 990) on find

% Global Value Errors ------------------- [1] Unexpected total object count: 850986 (expected 850977) [2] Unexpected total page count: 206592 (expected 206563) BTree Value Errors ------------------ [1] local.jpa.entity.ebene1a.MyEntity - Unexpected object count: 850986 (actual 850977
2

Persist & remove in same transaction

& persist a simple entity object, EntityManager is flushed, Transaction is not committed Count ... Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count the number of simple entity objects in the database Commit the transaction The count operations in step 3
2

Unexpected Query Token / Casting in Query

Hi! Please find the attached database. Doing a simple query with casting SELECT COUNT(DISTINCT $1 ... COUNT(DISTINCT $1) FROM com.quasado.foundation.contact.individual.IndividualContact $1 WHERE UPPER ... . Then I had to add another casting: SELECT COUNT(DISTINCT $1) FROM com.quasado.foundation.contact

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