ObjectDB ObjectDB

Internal Website Search

21-30 of 126 resultsRefresh
123

Question about overriding default equals and hashcode

Hello Support, I have overrided equals and hashcode method in my entities beans. I don't know ... equals and hashCode of entity classes. They could be used, however, if specified explicitly in a query ... like that : org.jvnet.jaxb2_commons.lang.Equals% org.jvnet.jaxb2_commons.lang.HashCode% org
32

General Performance Issues Illustrated with a Specific Method

<ClientBasicData> cs = new ArrayList<>(); if (ids == null || ids.trim().equals ... != null ? id.hashCode() : 0); return hash; } @Override public boolean equals ... ) || (this.id != null && !this.id.equals(other.id))) { return false; } return
23

Different behavior for two equal queries

Hi, I've got two equal queries though they behave differently: SELECT FROM com.quasado.foundation.communication.contact.individual.IndividualContact $1 WHERE (($1.organisation.name LIKE '%Q%')) This correctly returns one entry from my database SELECT FROM com.quasado.foundation.communication
19

JPA Criteria API Queries

operations. String based JPQL queries and JPA criteria based queries are equally powerful and efficient ... expressions (equal, notEqual, gt, ge, lt, le, between, isNull, ...) Logical expressions (and, or, not
14

JPA Query Expressions (JPQL / Criteria)

, isMember, isNotMember, size). Comparison expressions (equal, notEqual, gt, ge, lt, le, between, isNull, ...) Logical expressions (and, or, not, isTrue).
14

Query Parameters in JPA

whose name field value is equal to :name, which is a parameter that serves as a placeholder
14

CRUD Database Operations with JPA

all the Pointobjects whose x coordinate is greater or equal to 100 are deleted. All the other Pointobjects
1

[ODB1] Chapter 7 - JDOQL Queries

operators act in JDOQL as in Java, with a few exceptions: Equality operators (==, !=) compare the identity of instances of user persistent classes (as in Java), but use the equals(...) method
1

javax.jdo.FetchGroup

is unmodifiable Since: JDO 2.2 boolean equals(Object other) Return whether this instance is equal to the other. Return whether this instance is equal to the other. The equals method must compare the class for identity and the fetch group name for equality. Parameters: other - Returns
0

javax.jdo.Query

hides the name of a candidate class field if equal. Variable names must be unique and must not ... the Java language, except for these differences: Equality and ordering comparisons between primitives and instances of wrapper classes are valid. Equality and ordering comparisons of Date fields and Date

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