A Hibernate (and NHibernate) feature that allows for both HQL and SQL queries to be written in the mapping document, keyed by a name.
I would like to load all objects that have a textual tag set to any of a small but arbitrary …
sql orm jpa jpql named-queryIs there any way to specify optional parameters (such as when search parameters are provided from a form and not …
java hibernate orm hql named-queryhow to get count with a namedquery, without getting all the list (it would increase performance I think). This is …
java jpa named-queryI have a method in Dao Class that returns List<Object[]> back and I am using named Query …
java sql oracle named-queryI had two hibernate entity here with annotation: @Entity @Table(name = "CLIENT") public class Client { private Long pkClient; private String …
java hibernate hql hibernate-annotations named-queryI'm trying to put my named queries in my orm.xml (put in META-INF with persistence.xml) but my orm.…
java hibernate orm jpa named-queryIs it possible to have a like in a where clause in a named query? I am trying to do …
java sql jpa named-queryI wrote a named query in the entity class Voter NamedQuery(name = "Voter.findvoter", query = "SELECT count(*) FROM Voter v …
jpa named-queryI am using Hibernate 4.1.7 and trying to update object, but theres no documentation how it should be done. Currently, I …
java hibernate named-query hibernate-entitymanagerI have 3 beans: Organization, Role, User Role - Organization relation - @ManyToOne Role - User relation - @ManyToMany Organization : @Entity @…
mysql sql hibernate join named-query