I have the following HQL query: entityManager.createQuery(\"Select customer FROM VisitEntry visitEntry RIGHT OUTER JOIN visitEntry.customer customer
I am confused about how to query for a list of objects with sub-objects in it. I have two classes Execution and Order. And In Execution, I have the order object in it as a one-to-one relationship:
I am using Hibernate in my Spring Java EE application. I get the list of Users, where User is a bean specified in the applicationContext.xml as follows:
First of all, please forgive me for my vocabulary is a little limited with NHibernate so I might call something the wrong thing...here is my question:
I know JPQL is a subset of HQL. Are there any practical usecases (please give examples) that really need HQL specific features to be used (that means it is impossible or considerably difficult with
Im trying to update a record with a HQL query but I am getting a CastException. If anyone could help me out I would really appreciate it.
I wonder how to use date literals in Hibernate query language. I did as follows in my JPA project (as Eclipselink the provider) and it works.
I have a class named Rule, which contains a Set of childRules(each of the components of the Set are other classes). I am doing a HQL query which is marked as lazy=\"false\".
I have this Fluent NHibernate mapping: public LossMap() { Table(\"losses\"); Id(x => x.Id).Column(\"id\");
(Note: I\'m using the Play! framework, which uses Hibernate as the J开发者_如何学编程PA implementation.)