nhibernate/nhibernate-core — pull request #98 by RogerKratz (2012-05-03 14:11:50+00:00)
Title: Test and fix for NH-3141

Pull request for
https://nhibernate.jira.com/browse/NH-3141

This patch will always return id directly from proxy instead from target (for perf reasons). Including a ignored test to measure perf before/after.

This patch shouldn't change any logic. All tests are still green.