Internal Website Search

1-10 of 200 resultsRefresh

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

When using the CriteriaBuilder to query, the loaded list are not refreshed according ... on update side does not any diference. The problem is only solved when changing the query mode ... bypass the cache and may result in not being seen by

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 ... order to check if it needs enhancement. As you noted, this class is not related to ObjectDB and does not need enhancement, but the exception is thrown when ObjectDB tries to load it, before

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.

not(restriction)

="Interface in javax.persistence.criteria">Predicate not(   Returns: not predicate Since: JPA 2.0

LoadState.NOT_LOADED

Enum Constant javax.persistence.spi.LoadStateNOT_LOADED The state of the element is known not

not()

javax.persistence.criteria">Predicate not() Create

"is not null" queries not working with index

"is not null"-queries are not working correctly for indexed fields. Following SSCCE creates ... .bar IS NULL").getSingleResult());         System.out.println("not null: " + em.createQuery("SELECT COUNT(p) FROM Foo p WHERE p.bar IS NOT NULL").getSingleResult());  

Collection update does not increase entity version and is not persisted

) the version of the event does not increase and the updated event is not stored in the database (retrieve ... if this change was written or not. If I change the code to use the setAttachments() it also fails. not exist

[ODB1] Chapter 6 - Persistent Objects

content, or a transient object, i.e. not related to any database. Storing Objects ExplicitlymakePersistent(...) is not ... all the elements in the specified collection or array in the database, but not the collection or array

[ODB1] Chapter 7 - JDOQL Queries

>. When a candidate collection is not specified explicitly, as it is in this query, the entire Extent ... instances of the candidate class. In such cases, if an Extent is not managed for the candidate class, the query is not valid. The execute() method compiles and runs