Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged nhibernate

0 votes
620 views
1 answer
    I'm trying to eager load roles in many to many collection off of my User object. Role role = null; IQueryOver ... or am I doing something wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
639 views
1 answer
    Hard to believe, but I can't seem to find a straight answer for this: How can I get the SQL statement including ... data so that I can log it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
544 views
1 answer
    Entity Framework Code First will build the database for you if it doesn't exist and structure it based on ... SQL DDL creation and execution? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
476 views
1 answer
    I am trying to call a function (oracle) using nhibernate that return ref cursor, but i am not successful with ... this is also not working. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
492 views
1 answer
    Does nHibernate support multiple record-sets returning from an SP, if so can someone show me some basic implementation? Thanks, Mark See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
540 views
1 answer
    Is it possible to convert this code at below, written by using Query(linq) api to Criteria or QueryOver API in ... .ToList() }).ToList(); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
773 views
1 answer
    My table: create table MyTable ( Id int identity(1,1) not null, MyStatus char(2) not null ) insert into MyTable( ... and some of type char(2). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
453 views
1 answer
    Is it possible to creat a readonly connection in nHibernate ? Read-only : where nHibernate will not flush out any ... can reset the flush mode). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
713 views
1 answer
    I am having some probs with my fluent mappings. I have an entity with a child collection of entities i.e ... Any tips greatly appreciated. Chev See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
832 views
1 answer
    IHave the following NHibernate query using a subquery: NHContext.Session.QueryOver<Item>() .WithSubquery.WhereProperty(x ... for any help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
691 views
1 answer
    I have a small problem with multiple instances of the same object after a join to an other table. For ... problems, depending on the criterias. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
400 views
1 answer
    I'm trying to create a rowcount-query from a regular query, but the resulting SQL seems to lack the ... the collection. Parameter name: index See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    What is the preferred method for creating children objects? Adding the child to a collection on it's parent and ... preferable (less "magic"). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
401 views
1 answer
    In my application at the moment I have (as in so many other applications) an entity called Contact, which ... , then saving the manager? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
661 views
1 answer
    I'm trying to do something like this, but using Criteria instead of HQL: select user from User where user in ... far turning up any useful docs. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
553 views
1 answer
    I have following mapping definitions: <class name="Role" table="Role" optimistic-lock="version" > <id name="Id" type= ... ] m-to-1 [role] ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
417 views
1 answer
    I'm propositioning NHibernate for a project we're doing at my company and I'd like to know if NHibernate can be ... I see so far says no. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
446 views
1 answer
    I am using Asp net 5, NHibernate 3.3 and Kendo UI MVC wrapper for grid to render the table of client orders. ... on how to add grouping here. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
605 views
1 answer
    Is there any way to do the following in HQL: SELECT case when flag = true then SUM(col1) else SUM(col2) FROM myTable See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
440 views
1 answer
    I have been trying to do a very simple auditing scenario following Ayende's blog which seem to be the ... Any help would be appreciated! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
718 views
1 answer
    If I want to search those students who take class "Math" and "John" is his group: shoud I use createCriteria or ... the boath are the same... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
495 views
1 answer
    Hi Is there any elegant way of combining 'like' and 'or' when i'm using queryover API? for 'like' there ... '%abc%' or description like '%abc%' See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
321 views
1 answer
    Update: I have now implemented this properly. For more information see my blog post about it. I'm trying to use ... name="localhost" cachePort="22233"/> </hosts> </dataCacheClient...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
660 views
1 answer
    I need to know what is the difference between JoinQueryOver and JoinAlias, and when to use each? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
938 views
1 answer
    I have upgraded from Fluent Nhibernate 1.0 with Nhibernate 2.1 to pre- release 1.x with NHibernate 3.0 GA and ... and how to fix/workaround it? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
473 views
1 answer
    Persistence ignorance is typically defined as the ability to persist & retrieve standard .NET objects (or ... persistence logic themselves? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
736 views
1 answer
    I am saving a TimeSpan (from .NET) value in my db as BIGINT in SQL Server (saving the Ticks property ... seconds that that TimeSpan represents. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...