Best code examples for Hibernate ORM DetachedCriteria class (org.hibernate.criterion.DetachedCriteria)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM DetachedCriteria class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM DetachedCriteria examples from Open Source projects
This code example shows how to use the following methods: getAlias, setProjection
121:	_detachedCriteria.getAlias() + "_." + projection.toString(), 
-
127:	_detachedCriteria.setProjection(projectionImpl.getWrappedProjection()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: add, setProjection
44:	criteria.setProjection(Projections.id()); 
45:	criteria.add(getRandomRestriction()); 
46:	return this.getHibernateTemplate().findByCriteria(criteria, 0, maxResults); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: add
19:	criteria.add(Restrictions.eq("deviceId", deviceId)); 
20:	criteria.add(Restrictions.eq("deviceType", deviceType)); 
21:	return this.findUnique(criteria); 
Full Snippet Info
4
CodeRank
See Code Examples for Hibernate ORM DetachedCriteria Methods: