ObjectDB ObjectDB

Internal Website Search

21-30 of 138 resultsRefresh
33

Threading Problem (maybe with Criteria)

would a ConcurrentLinkedHashMap). FETCH thread nr (36) count: 982 UIDs in 26 msek FETCH thread nr (41) count: 982 UIDs in 29 msek FETCH thread nr (44) count: 982 UIDs in 14 msek FETCH thread nr (39) count: 982 UIDs in 25 msek FETCH thread nr (42) count: 982 UIDs in 31 msek FETCH thread nr (40) count
26

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

);     System.out.println("COUNT = " + i);     em.close();     try {      Thread.sleep(1500);     } catch ... ("SELECT p FROM Point p",     Point.class);   List<Point> results = query.getResultList();   int count = 0;   for (Point p : results) {    System.out.println(p);    if(count++>5) {     break
22

Join performance in Objectdb

SELECT count(e) FROM Meta e, ImageNet i, Page p WHERE e.idImage=i.id AND e.idPage=p.id; So simple ... can predict the time for such counting? TIA gzdillon Lai Yang Now, after 2 hours ... of your query would be: SELECT count(e) FROM Meta e, ImageNet i, Page p WHERE e.image=i AND e.page=p
13

ObjectDB Object Database Features

(COUNT, SUM, AVG, MAX, MIN). Query Expressions Path navigation expressions using the dot (.) operator
13

JPA Criteria API Queries

, count, sum, avg, min, max, ...). ORDER BY clause (orderBy, Order, asc, desc). The links
13

ORDER BY clause (JPQL / Criteria API)

WHERE 'Europe' MEMBER OF c.continents GROUP BY c.currency HAVING COUNT(c) > 1 ORDER BY c.currency The ORDER
11

javax.persistence.criteria.CriteriaBuilder

item Since: JPA 2.0 Expression<Long> count( Expression<?> x) Create an aggregate expression applying the count operation. Create an aggregate expression applying the count operation. Parameters: x - expression representing input value to count operation Returns: count expression Since: JPA 2.0
6

countDistinct(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<Long> countDistinct( Expression<?> x ) Create an aggregate expression applying the count distinct operation. Parameters: x - expression representing input value to count distinct operation Returns: count distinct expression Since: JPA 2.0
4

Issue with UPPER ?

COUNT($1) FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.mitgliedschaft $2 ... LIKE '%81%'))))) # Case (2) SELECT COUNT($1) FROM com.lexware.vereinsverwaltung.verein.mitglied ... %')))))) # Case (3) SELECT COUNT($1) FROM com.lexware.vereinsverwaltung.verein.mitglied
3

Issue with cascade delete & add/remove

();     }     private static void printCounts(EntityManager em) {         int Address_1_Count = ((Long) em.createQuery(             "SELECT COUNT(a) FROM Address a WHERE street = '1'")             .getSingleResult()).intValue();         int Address_2_Count = ((Long) em.createQuery(             "SELECT COUNT

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