Home » Search

About not

1-10 of 200 Refresh
Manual
68

Logical Operators in JPQL and Criteria API

|| NOT ! JPQL follows the SQL notation, while Java uses its own notation (which is also in use by JDOQL ... || operator as a synonym for OR as part of its JDO support. Unary NOT (!) Operator The following query retrieves all the countries whose population does not exceed a specified limit: SELECT c FROM
JPA Doc
38

LoadState.NOT_LOADED

Enum Constant javax.persistence.spi.LoadState NOT_LOADED The state of the element is known not to have been loaded. Since: JPA 2.0
JPA Doc
38

not(restriction)

Method javax.persistence.criteria.CriteriaBuilder Predicate not(   Expression  restriction ) Create a negation of the given restriction. Parameters: restriction - restriction expression Returns: not predicate Since: JPA 2.0
JPA Doc
37

not()

Method javax.persistence.criteria.Predicate Predicate not() Create a negation of the predicate. Returns: negated predicate Since: JPA 2.0
Forum
18

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the loaded list are not refreshed according to the latest ... side does not any diference. The problem is only solved when changing the query mode, from ... and may result in not being seen by queries: "Updating entity objects in the database using an UPDATE query
Forum
18

Collection update does not increase entity version and is not persisted

(all classes are enhanced) the version of the event does not increase and the updated event is not stored ... another transaction if this change was written or not. If I change the code to use ... to a collection in an object of an old schema, in which the collection was not exist yet (as of changing
Forum
17

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

through @Inject. Both are not entities or anything related to ObjectDB. AuthB is used in a JSF page for login ... , this class is not related to ObjectDB and does not need enhancement, but the exception is thrown
Forum
17

NOT NULL not working

I added a OneToOne Realtionship to one of my entity classes. To  give this field a value in my existing datasets i wrote an upgrade method. The cool thing is that SELECT u FROM Unit u WHERE u.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? Are you using
Manual
15

JPA Entity Fields

that do not participate in persistence and their values are never stored in the database (similar to transient fields in Java that do not participate in serialization). Static and final entity fields ... transient1; // not persistent because of static final int transient2 = 0; // not persistent
Manual
15

Retrieving JPA Entity Objects

. The retrieval of objects does not require an active transaction because it does not change the content ... entity object is not found in the persistence context a new object is constructed and filled ... object to Employee is not required because find is defined as returning an instance of the same class