I was trying to fire hql for some reporting purpose in my JPA based application. The following query that I tried kept conking out on startup (Since I had given it as a NamedQuery, it was checked for
Hello i have this HQL request and i have an error when I run it My function: public ProprietaireInt getProprietaireInt(String codeImmeuble, String annee) {
I have the following class: class User { String username; @CollectionOfElements private Set<String> roles = new HashSet<String>();
I jave the following mapped superclass that provides a basic implementation for a parent/child self relationship to create a parent/child list for unlimited nesting of items (i.e. Categories)
I would just like to know if derived queries can be handled by HQL? I have this bit of code right here and it kept on saying that it did not expect the \'(\' symbol right after the first FROM keyword.
Same question as this, only I\'d like to do it in Hibernate (using grails if that matters). So the domain class looks like this
I\'m trying to do开发者_高级运维 an update in hibernate HQL with a subselect in a set clause like:
public class Case { public int Id { get; set; } public string Number { get; set; } 开发者_开发问答 public Employee Employee { get; set; }
I have this nhibernate query: var q = NHibernateSession.Curr开发者_StackOverflow社区ent.CreateSQLQuery
I\'m struggling to understand my error in an HQL query: public List<Pats&g开发者_开发技巧t; getIds(List<String> patIds) {