|
From: Sławomir R. (J. <nh...@gm...> - 2011-05-07 11:12:47
|
[ http://216.121.112.228/browse/NH-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21013#action_21013 ]
Sławomir Rosiek commented on NH-2510:
-------------------------------------
My case is similar. The only difference is that I have cache declaration (with usage equal "read-only") in class mapping.
Thanks.
> Lazy-loading doesn't work with cache
> ------------------------------------
>
> Key: NH-2510
> URL: http://216.121.112.228/browse/NH-2510
> Project: NHibernate
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.0.0.GA
> Reporter: Sławomir Rosiek
> Priority: Minor
> Attachments: NH2510-Fixture.patch
>
>
> If I set caching in entity which has lazy property I have the following exception:
> System.InvalidCastException: Unable to cast object of type 'System.Object' to type 'System.Byte[]'.
--
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
|