Top "Hibernate-criteria" questions

The Criteria interface of Hibernate ORM , represents a query against a particular persistent class.

Grails hasMany: find all master records with a child that matches a criteria

I have this Grails 2.0.3 project wherein there are two models DomainA and DomainB and both are related to each other …

hibernate grails grails-domain-class hibernate-criteria
How to specify pessimistic lock with Criteria API?

I am retrieving a list of objects in hibernate using Criteria API. However I need lock on those objects as …

hibernate hibernate-criteria
Hibernate Criteria for entity with embedded objects

I have an entity "UserDetails" which has the following variables: String userId String userName UserContact userContact (where UserContact is an …

java hibernate orm hibernate-criteria
Hibernate criteria api 'Select in'

is it possible to create a 'select in'-query with the hibernate critiria api ? Example : I have two tables in a 1:…

hibernate subquery hibernate-criteria
How to use key of MAP in Criteria Query?

I have a Bean like this Class TestA { Map<String,TestB> testBMap; } Class TestB { String data; ... } I want …

hibernate criteria-api hibernate-criteria