About named queries

api-jpa

setParameter(name, value, temporalType)

Bind an instance of java.util.Date to a named parameter.(Method of javax.persistence.TypedQuery)

 
release

2.4.4

... Fixed a regression bug in using primary key fields in queries. Fixed a regression bug of duplicating new objects on ... . Fixed exception when a named query doesn't exist to IllegalArgumentException . ...

 
forum_thread

Cache configuration of database file pages, query programs, query results

Are there some possibilities to configure following caches in order to keep cache data for only some important entity types and for the entire life cycle of the EntityManagerFactory. Cache of database file pages. Cache of query programs. Cache of query execution results. #1 2016-06-22 08:04 Are there some possibilities to configure following caches in order to keep cache data for only some important en ...

 
api-jdo

javax.jdo.PersistenceManager

PersistenceManager is the primary interface for JDO-aware application components.(Interface of JDO)

 
api-jdo

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

Add a subquery to this query.(Method of javax.jdo.Query)

 
api-jpa

javax.persistence.NamedQueries

Specifies multiple named Java Persistence query language queries.(Annotation of JPA)

 
forum_thread

java 8 LocalDateTime is not working in query

My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to query without datetime field in where clause, but with datetime in where clause doesn't return anything and not exception.   #1 2014-08-25 00:19 My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to ...

 
forum_thread

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

When using the CriteriaBuilder to query, the retrieved list are not refreshed according to the latest updates. But, when using the JPQL Query, the list are refreshed. What is the problem? ... the cache. There is no difference between criteria queries and string based JPQL queries regarding the cache (and actually every criteria query it converted by ...

 
release

2.3.7

... ). Improved  toString of criteria queries to use aliases ( issue #12 7). Fixed automatic variable naming in criteria queries ( issue #128 ). Fixed a bug in handling mapped super ...

 
release

2.3.5

... Added support of DATE(...) and TIME(...) methods in queries. Added new Explorer and Server exe (for Windows 7 and ... Fixed handling a Calendar parameter value in criteria queries. Fixed using type operator and literals in client server ...