Internal Website Search

51-60 of 200 resultsRefresh

Grouping by date()

) from ObjectView ov group by hour(ov.created) order by hour(ov.created) ASC where ov ... ({t '23:59:00'}) is evaluated to 0. Quite often I have to group by date(). For few queries ... problem with new version. When you group by date() there are two days per day. I mean group by

A lot of ENT and SIV instances which are not cleared by GC

through mapped by to-many relationships. Please check the new build. If you still get the exception we may need a test case that demonstrate the issue in order to explore it further.

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. order to instantiate referenced

FROM clause (JPQL / Criteria API)

/where">WHERE clause level by using a SELECT c FROM Country c By default ... >Country with no package name). The default name can be overridden by specifying

javax.persistence.criteria.CriteriaQuery

="header"> List< Order" title="Interface in javax.persistence.criteria">Order > () Return the ordering expressions in order

Shared (L2) Entity Cache

cache. An attempt to retrieve an entity object that is already managed by the EntityManager ... of entity objects, which is managed by the EntityManagerFactory and shared by all its EntityManager objects. the broader scope

Database Replication and Clustering

to the master server in order to listen to updates. The updates are automatically applied ... server can manage different types of databases, including master databases, slave database (by using ... a situation in which the master database is managed by a server on localhost:6000

JPA Queries

and ORDER BY elements (including tuples): Queries are represented in JPA by the Query and TypedQuery ... with a structure that is known only at runtime (e.g. depending on which fields are filled by a user

DELETE Queries in JPA/JPQL

, and cannot include the GROUP BY, HAVING and ORDER BY clauses. A WHERE clause, which is essential ... objects can be deleted from the database by: Retrieving the entity objects into ...  within an active transaction, either explicitly by calling the remove

UPDATE SET Queries in JPA/JPQL

>UPDATE queries cannot include the GROUP BY, HAVING and ORDER BY clauses, but the  ... /persistence/update">chapter 2, by: Retrieving the entity objects into ... ;within an active transaction. Applying changes to the database by calling the commit