ObjectDB ObjectDB

Internal Website Search

11-20 of 126 resultsRefresh
125

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute ... and the other on a @Controller @RequestMapping event, they return not equals Attributes using the same entity. sameAttributeOnPostConstruct.equals(sameAttributeOnController) //is false
123

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date ... = ...; Root<MyEntity> root = ...; java.sql.Date myDate = ...; Predicate predicate = builder.equal ... );         Predicate predicate = cb.equal(root.get("date"), cb.literal(myDate));         q.where(predicate
70

equals(arg0)

Method java.security.Permission boolean equals( Object arg0 ) Parameters: arg0 -
66

Comparison in JPQL and Criteria API

/ SQL Set 2 - Java / JDO Less Than < < Greater Than > > Less Than or Equal To <= <= Greater Than or Equal To >= >= Equal = == Not Equal <> != The two sets differ in the Equal and the Not Equal operators ... can be compared by using any comparison operator. Equality operators (=, <>, ==, !=) on strings in queries
25

javax.persistence.criteria.CriteriaBuilder

with zero disjuncts is false. Returns: or predicate Since: JPA 2.0 Predicate equal( Expression<?> x, Object y) Create a predicate for testing the arguments for equality. Create a predicate for testing the arguments for equality. Parameters: x - expression y - object Returns: equality predicate
7

equals(obj)

Method javax.jdo.identity.CharIdentity boolean equals( Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0
7

equals(arg0)

Method java.security.Permission boolean equals( Object arg0 ) Parameters: arg0 -
7

equals(obj)

Method javax.jdo.identity.SingleFieldIdentity boolean equals( Object obj ) Check the class and class name and object type. If restored from serialization, class will be null so compare class name. Parameters: obj - the other object Returns: true if the class or class name is the same Since: JDO 1.0
7

equals(obj)

Method javax.jdo.identity.LongIdentity boolean equals( Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Returns: true if both objects represent the same object id Since: JDO 1.0
3

[ODB1] Chapter 4 - JDO Metadata

objects for every value in the indexed field. Both equality (==, !=) and comparison ... for every reference in the indexed field. Only equality (==, !=) queries are supported by reference ... is a reference index. In that case equality queries will check reference equality (as == operator in Java

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