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

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

Hibernate ORM SQLQuery examples from Open Source projects
This code example shows how to use the following methods: addEntity, list
111:	q.addEntity("FoodItem", FoodItem.class); 
-
113:	List list = q.list(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: executeUpdate
254:	when(session.createSQLQuery("create sequence schema.hibernate_sequence")).thenReturn(sqlQuery); 
255:	when(sqlQuery.executeUpdate()).thenReturn(0); 
-
260:	verify(sqlQuery).executeUpdate(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: setFirstResult
78:	result = sqlQuery.setFirstResult(firstResultIndex++).setMaxResults(1).list(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: executeUpdate
73:	query.executeUpdate(); 
Full Snippet Info
5
CodeRank