ObjectDB ObjectDB

Internal Website Search

1-6 of 6 resultsRefresh

Numbers in JPQL and Criteria Queries

: + (addition), - (subtraction), * (multiplication) and / (division). ObjectDB also supports the % (modulo ... function calculates the remainder of the division of one number by another, similar to the modulo operator ... <Integer> prod3 = cb.prod(1000, path); // number * expression // Division (/) Expression<Integer

JPA Query Expressions (JPQL / Criteria)

: * (multiplication), / (division), + (addition) and - (subtraction). Comparison operators

objectdb.conf Information

in future versions at least for server / client setting. As the result of this division

Getting java.lang.ArithmeticException: / by zero

which is being used is 2302. Regards, Binit Bhaskar binitbhaskar Binit Bhaskar This division by zero


")) @MapKeyJoinColumn(name="DIVISION") Map organization; } Example 2: @Entity


(targetEntity=com.example.VicePresident.class) @MapKeyClass(com.example.Division.class) Map

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