http://nhforge.org/blogs/nhibernate/archive/2008/10/04/the-best-way-to-solve-nhibernate-bugs-submit-good-unit-test.aspx

On Wed, Aug 10, 2011 at 1:54 PM, Joseph Daigle <[email protected]>wrote:

> I have a small console-app project here:
>
> https://github.com/jdaigle/ProfilerBreakingTest
>
> Run the app assuming you have the correct database schema. Three things:
>
> 1. If you run it as is (the profiler is initalized) the code throws an
> exception saying that it cannot initialize the proxy object (it should not
> be initializing the proxy object!)
>
> 2. If you remove the line of code for the profiler, the code exits cleanly
> (as expected).
>
> 3. If the database schema is wrong (such that the query should fail), and
> you remove the line of code for the profiler, the code throws an exception
> saying that it cannot initialize the proxy object (it should not be
> initializing the proxy object!)
>



-- 
Fabio Maulo

Reply via email to