ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
159

100% CPU when using multiple BETWEEN

WHERE (((r.toExtension BETWEEN '2010' AND '2099') OR (r.toExtension BETWEEN '2001' AND '2002')) OR ((r.fromExtension BETWEEN '2010' AND '2099') OR (r.fromExtension BETWEEN ... .toExtension BETWEEN '2010' AND '2099')) OR ((r.fromExtension BETWEEN '2010' AND '2099'))) ORDER BY r
93

between(v, x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate between( Expression<?> v, Expression<?> x, Expression<?> y ) Create a predicate for testing whether the first argument is between the second and third arguments in value. Parameters: v - expression x - expression y - expression Returns: between predicate Since: JPA 2.0
93

between(v, x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate between( Expression<T> v, Expression<T> x, Expression<T> y ) Create a predicate for testing whether the first argument is between the second and third arguments in value. Parameters: v - expression x - expression y - expression Returns: between predicate Since: JPA 2.0
93

between(v, x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate between( Expression<?> v, Y x, Y y ) Create a predicate for testing whether the first argument is between the second and third arguments in value. Parameters: v - expression x - value y - value Returns: between predicate Since: JPA 2.0
31

Comparison in JPQL and Criteria API

but not to a String instance. [NOT] BETWEEN The BETWEEN operator is a convenient shortcut ... parameters): x BETWEEN :min AND :max x >= :min AND x <= :max Similarly, NOT BETWEEN is also a shortcut and the following expressions are equivalent: x NOT BETWEEN :min AND :max x < :min OR x
31

Using SELECT BETWEEN with LocalDate

I am trying to query all entities whose date is between today and today + X days. The date inside ... Element e WHERE e.date between CURRENT_DATE and :date", Element.class) .setParameter("date ... get the following exception: com.objectdb.o._PersistenceException: Operand type mismatch for operator 'between
30

Collision Between Different Schema Versions of Entity Classes

Version 2.8.4 fixes a critical bug that in rare cases may cause collision between different schema versions of entity classes, when schemas have changes many times (usually more than 20 times). This bug mainly affects queries on hierarchy of multiple entity classes (i.e. a query on a super class
13

Database Management Settings

attribute specifies the speed of the index building background process as a number between 10 and 70, indicating a processing rate of between 10% to 70% of the maximum database writing rate. As soon
1

[ODB1] Chapter 5 - JDO Connections

. there is a one to one relationship between these two instances). The currentTransaction() method can be called on any ... 100 milliseconds between every two tries: System.setProperty("com.objectdb.lock.retry.wait", "100 ... and there is no active transaction - in which case an exception is thrown). Usually the only difference between
1

[ODB1] Chapter 6 - Persistent Objects

to the naming issue, there is another difference between makePersistent(...) and bind(...). The bind ... applications, in which passing string values between web pages is easier than passing real object ID ... store transactions (which is the default in ObjectDB), there is a strong relationship between object

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