ObjectDB ObjectDB

Internal Website Search

11-17 of 17 resultsRefresh

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

the average X value:   Query q2 = em.createQuery("SELECT AVG(p.x) FROM Point p ... .createQuery("SELECT AVG(p.x) FROM Point p");   System.out.println("Average X: " + q2.getSingleResult


.0 Expression<Double> avg( Expression<N> x) Create an aggregate expression applying the avg operation. Create an aggregate expression applying the avg operation. Parameters: x - expression representing input value to avg operation Returns: avg expression Since: JPA 2.0 Predicate between( Expression

IN expression in a Criteria Query

value combination). Aggregate calculations (count, sum, avg, max, min) that are carried

Using the wrong class to access a database

= em.createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X: " + q2

ObjectDB 2.0.5

Fixed Java Agent / Java EE / Spring enhancement bug. Fixed a bug in merging detached entity objects. Fixed unexpected NullPointerException in client server mode. Fixed an exception in AVG query on non numeric values (issue #107). Fixed a bug in handling JOIN queries with primary key fields.

unexpected exception

:586) at pt.up.fe.dceg.neptus.imc.db.MessageDB.avg(MessageDB.java:63) at pt.up.fe.dceg.neptus.imc.db

unexpected exception - in query

:586) at pt.up.fe.dceg.neptus.imc.db.MessageDB.avg(MessageDB.java:63) at pt.up.fe.dceg.neptus.imc.db

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