|
From: cremor (JIRA) <nh...@gm...> - 2011-05-10 13:44:49
|
Proxying fails for methods with generic type constraints
--------------------------------------------------------
Key: NH-2698
URL: http://216.121.112.228/browse/NH-2698
Project: NHibernate
Issue Type: Bug
Components: ByteCode providers
Affects Versions: 3.2.0Alpha3
Reporter: cremor
Priority: Critical
I just tried to implement the As<T>() method described in this blog post:
http://sessionfactory.blogspot.com/2010/08/hacking-lazy-loaded-inheritance.html
But it seems like the dynamic proxy factory has problems creating proxies for methods with generic type constraints. Generic methods without constraints work perfectly, but I need a constraint in that method for the "as" operator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|