criteria
Nhibernate multiple levels hierarchy mapped as joined subclasses fails to work with base class property
I have following hierarchy: ClassA->ClassB->ClassC->ClassD ClassB has PropertyA. All classes are mapped as joined subclasses with table per-class.[详细]
2023-03-23 15:13 分类:问答Result for a projection's list with a hibernate criteria
I\'m using a criteria with projections to extract 2 columns from m开发者_高级运维y database. However, I would like a result as 2 lists of simple elements instead of 1 list of elements.[详细]
2023-03-22 13:02 分类:问答Column not found error in Criteria
I\'m working on a symfony project and i need to query a many to many relationship, so i made this criteria based function to query the database:开发者_C百科[详细]
2023-03-22 08:46 分类:问答Criteria with composite-id error
NHibernate. I have 3 tables: Employee {PK:EmployeeId, Name, LastName, ...} Project {PK: ProjectId, date, name, ...}[详细]
2023-03-21 23:32 分类:问答How to join two tables on three conditions?
hope someone can figure out what I\'m doing wrong here. The task seems quite simple, but is apparently beyond me.[详细]
2023-03-21 07:31 分类:问答Using SetFetchMode
Excuse my amateur nhibernate-ness but I am struggling with fetching in the below scenario. var query = session.CreateCriteria<Notification>().SetFetchMode(\"Parameters\", FetchMode.Select)[详细]
2023-03-21 07:30 分类:问答Using local variable for "IN" criteria condition with SQL Server [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: SQL : in clause in storedprocedure:how to pass values[详细]
2023-03-20 19:43 分类:问答hibernate fetch specific column from database using criteria
I want to fetch specific column from database by using criteria. 开发者_StackOverflow社区 select name, lastname from sssssss[详细]
2023-03-20 13:36 分类:问答Grails createCriteria many-to-many
Imagine i have the following (this is a search mechanism for my website) class Supermarket { String sp_n开发者_运维百科ame[详细]
2023-03-18 04:48 分类:问答MySQL Retrieve Records Where Criteria is Unique and True i.e. No other records exist
I have a legacy database that I am working with a basic column layout as such: SampleID CompanyID CompanyApplication[详细]
2023-03-17 06:44 分类:问答