Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

nhibernate

ORA 01407 – Error – Cannot update to NULL

September 4, 2022 by Magenaut

My problem is that i have two entities (Document and Attach) that has an relationship one-to-one. In my app, i can save first the Document and lately if i want, i can attach an archive to it, that will be on the table Attach.

Categories ASP.NET, Q&A Tags asp.net, c#, nhibernate, oracle Leave a comment

How to configure Fluent NHibernate to output queries to Trace or Debug instead of Console?

August 31, 2022 by Magenaut

How to configure Fluent NHibernate to output queries to Trace or Debug instead of Console?
I’m using MsSqlConfiguration.MsSql2008.ShowSql() but it has no parameters and I can’t find anything on Google.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, fluent-nhibernate, nhibernate Leave a comment

NHibernate, and odd “Session is Closed!” errors

August 31, 2022 by Magenaut

Note: Now that I’ve typed this out, I have to apologize for the super long question, however, I think all the code and information presented here is in some way relevant.

Categories ASP.NET, Q&A Tags asp.net, c#, nhibernate, ninject Leave a comment

What is NHibernate?

August 31, 2022 by Magenaut

As a followup to my previous question. I am an ASP.NET Programmer, and am wondering how NHibernate would help me get my job done easier and more quickly than it would otherwise. Pretend I know nothing about NHibernate. What is it, and what can it do for me?

Categories ASP.NET, Q&A Tags asp.net, database, nhibernate Leave a comment

“Security” problem with NHibernate on deployed web application

August 28, 2022 by Magenaut

I’ve deployed to a server a web application that uses NHibernate. The application compiles and runs fine on my local dev machine, but there’s an issue with NHibernate on the new server. I get the following error:

Categories ASP.NET, Q&A Tags asp.net, c#, deployment, nhibernate, web-applications Leave a comment

NHibernate difference between Query, Get and Load

August 27, 2022 by Magenaut

I’d like to find the difference in using these three ways of getting data from the database when doing something like:

Categories ASP.NET, Q&A Tags asp.net, c#, database, linq, nhibernate Leave a comment

Where can I find a good NHibernate and ASP.NET MVC Reference Application

August 27, 2022 by Magenaut

Where can I find a good NHibernate and ASP.NET MVC Reference Application? I downloaded S#arp and this seemed to be a lot more than I needed (IOC and CodeGen via T4). I might work my way up to this later, but I need something smaller at first.

Categories ASP.NET, Q&A Tags .net, asp.net, asp.net-mvc, nhibernate, reference-application Leave a comment

Is a static repository a right way to use NHibernate?

August 27, 2022 by Magenaut

I spent the rest of the evening reading StackOverflow questions and also some blog entries and links about the subject. All of them turned out to be very helpful, but I still feel that they don’t really answer my question.

Categories ASP.NET, Q&A Tags .net, asp.net, nhibernate, orm, repository-pattern Leave a comment

Fluent NHibernate Cascade Issue – Trying To Insert NULL ID

August 26, 2022 by Magenaut

I have the following models & mappings (code snippets further below).

Categories ASP.NET, Q&A Tags .net, asp.net, fluent-nhibernate, nhibernate Leave a comment

NH Request Per Session – “Session is closed!”

August 26, 2022 by Magenaut

NHibernate Version: 2.1

Categories ASP.NET, Q&A Tags asp.net, nhibernate Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress