-
The NHibernate 3 Trunk-Version contains a new Interface "ILogger" which provides interface for custom loggers to be configured with NHibernate. NHibernate provides' a log4net log provider for this interface out of the box. So if you are using NHibernate with log4net just deliver the log4net...
-
The best way to get help with NHibernate is to ask a question on the NHusers Group . When asking a questing remember to provide enough detail so that those who wish to help you can analyze your request when you first make it without having to ask for further details. The various mapping files, query...
-
Db2hbm is a reverse engineering tool able to generate hbm files from a database schema and some information contained in a configuration file. Unlike other commercial and open source tools serving the same purpose, db2hbm is not template based. The hbm output comes from a serialization based on the NHibernate...
-
I originally blogged about this here and here on my blog but Fabio suggested I add these posts to the Forge, so here I am. I have to say I am a little exited to make my first contribution to the Wiki [H]. I will try to add a bit more to them and show some examples that do not use the TableGenerator class...
-
Let's take a look at the following code: public class TaxCalculator { public static readonly TaxCalculator NoTax = new TaxCalculator("No Tax", 0.0); public TaxCalculator() { } public TaxCalculator(String name, Double percentage) { this.Name = name; this.Percentage = percentage; } public...
-
I'm just starting to get my feet wet with NHibernate and one of the topics that popup here at the bar (you are thinking about NH when you have a couple of cold ones, aren't you? [B] ) was if we could use something like sql server's timestamp column to handle concurrency with NH and Oracle...