I have a table with more than 10 000 000 rows. In TOAD this query works very well on it: select /*+ INDEX(x IDX_CASHFLOW_COMPLEX)*/ *
Is there any way I can filter my NHibernate query on the SubType field before开发者_运维问答 I hit the database by adding an ICriterion to my executing DetachedCriteria?
Let\'s say I have a base class called Pet and two subclasses Cat and Dog that inherit Pet. I simply map these to three tables Pet, Cat and Dog, where the Pet table contains the base class properties
I have an NHibernate application that currently makes use of a SQL Server user-defined function. I wou开发者_如何学Cld like to avoid having to call this function, and instead express its logic using t
My application creates a dynamically generated query at runtime based on user input by creating Criterion objects e.g:
Anyone know how to convert an ICriteria into a DetachedCriteria.I need to use an existing ICriteria as part of a subquery using:
I\'m still quite new to NHibernate and most of it I\'m getting to grips with.One area that I\'m really lacking a proper understanding of though is querying (at least when it comes to anything reasonab
I have a Person entity belong开发者_如何学Pythons to a person has a Country, I want to select all the distinct countries that have people in them.Easy in HQL
hi i am new in NHibernate and i am a little confused. Suppose we have a product table. Let the product table have 2 columns price1 and price2.
I have a Person entity.Every person has a country, I want to select all the distinct countries that have people in them. This Criteria Query returns all the distinct CountryID\'s