detachedcriteria
Hibernate LEFT OUTER JOIN with DetachedCriteria
I am trying to transform the following SQL into Hibernate DetachedCriteria: SELECT students0_.courseId AS courseId2_1_,[详细]
2023-02-04 08:27 分类:问答hibernate: using criteria to access objects within objects
I am using criteria to get a list of notifications that contains users that are active. The problem is that i get the following error:[详细]
2023-01-26 04:08 分类:问答Anonymous count with nhibernate criteria?
Is it possible to create a anoynmous count with nhibernate? The below query throws the exception \"No column *\".[详细]
2023-01-21 17:25 分类:问答What is IDetachedQuery and its difference with DetachedCriteria?
What is IDetachedQuery and its difference with DetachedCriteria? How and when IDetached开发者_JAVA技巧Query is used?[详细]
2023-01-19 23:30 分类:问答JPA 2 Remote Criteria?
Is there any way that criteria for qu开发者_如何学编程eries can be built on a remote (Swing/SWT etc) client?We\'ve been using the DetachedCriteria functionality in Hibernate for quite some time, but w[详细]
2023-01-14 22:36 分类:问答What is the preferred way of using unsupported SQL functions or clauses with Castle/NHibernate?
I modeled all of my tables and already ported most of my queries using detached criteria\'s. All is working very well however I\'m at a point where I don\'t know how to advance. I ha开发者_开发问答ve[详细]
2023-01-08 06:34 分类:问答Complex SQL Query to NHibernate DetachedCriteria or HQL
I have the following SQL Query returning the results I need: SELECT Person.FirstName,Person.LastName,OrganisationUnit.Name AS UnitName, RS_SkillsArea.Name AS SkillsArea, Activity.Name AS ActivityName[详细]
2023-01-07 17:13 分类:问答Retrieving Polymorphic Hibernate Objects Using a Criteria Query
In my model I have an abstract \"User\" class, and multiple subclasses such as Applicant, HiringManager, and Interviewer. They are in a single table, and I have a single DAO to manage them all.[详细]
2023-01-06 05:27 分类:问答Nhibernate join on a table twice
Consider the following Class structure... public class ListViewControl { public int SystemId {get; set;}[详细]
2022-12-31 08:37 分类:问答Need help optimizing a NHibernate criteria query that uses Restrictions.In(..)
I\'m trying to figure out if there\'s a way I can do the following strictly using Criteria and DetachedCriteria via a subquery or some other way that is more optimal. NameGuidDto is nothing more than[详细]
2022-12-29 07:39 分类:问答