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!)
