rhino security with Nhibernate 3.2

107 views
Skip to first unread message

harshil

unread,
Sep 5, 2011, 2:10:55 AM9/5/11
to Rhino Tools Dev
I upgrade my Nh to 3.2 .
while updating "Rhino.Commons.NHibernate" getting build error

'NHibernate.Criterion.ICriteriaQuery' does not contain a definition
for 'AddUsedTypedValues'


"
Error 22 'NHibernate.Criterion.ICriteriaQuery' does not contain
a
definition for 'AddUsedTypedValues' and no extension method
'AddUsedTypedValues' accepting a first argument of type
'NHibernate.Criterion.ICriteriaQuery' could be found (are you missing
a using directive or an assembly reference?) E:\har file\WorkSpace
\Nhibernate 3.2.0 works\Rhino Updation\lorenzomelato-rhino-commons-
dlls
\Nh3.2 updation Rhino Common\lorenzomelato-rhino-commons-
a8b8d89\Rhino.Commons.NHibernate\NHibernate\XmlIn.cs 120 18
Rhino.Commons.NHibernate-v2008
"


please help to solve this issue

Daniel Forer

unread,
Sep 5, 2011, 4:34:08 AM9/5/11
to rhino-t...@googlegroups.com
Hi Harshil,

I used NHibernate 2.1.2.4000 with my builds, as it is included with S#arp Arch 1.6 which is part of a project I am working on. I didn't try with NH3.2, as it is not relevant to my project.

NH3.2 are quite a leap forward from NH2.1.2.4000 I used, and a further leap from the NH version that is "supported" by Rhino Security that is available online. I would assume there are changes in code of NH3.2 that Rhino was dependant upon, which has changed.

I cannot help you with this, apart from suggesting you use NH2.1.2.4000 at the latest.

Sorry & Good luck.


--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.




--
Kind Regards,
 
Daniel Forer
ForerMedia
cell: 082 593 4557
fax: 086 272 1943

album.php.jpg



Forermedia - desktop, web and mobile application development.
Design | Development | Usability

DISCLAIMER AND CONFIDENTIALITY:
This document is confidential and issued for the information of the addressee only. It is subject to copyright and may not be reproduced in whole or in part without the written permission of ForerMedia.
The information contained in this e-mail and/or attachments may contain confidential information which may be legally privileged and is for the sole use of the intended addressee. If you are not, or believe you may not be, the intended recipient, you are hereby notified that any use, dissemination, copying, review, disclosure or action taken in reliance of this e-mail is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by reply e-mail and delete all copies of the message.

Any views expressed in this message are those of the sender unless expressly stated by the sender to be given on behalf of ForerMedia. No warranty is given by ForerMedia that the integrity or security of this e-mail and/or attachments has been maintained through transmission, nor that the communication is free of virus, interception or interference.

Jason Meckley

unread,
Sep 5, 2011, 9:43:59 AM9/5/11
to rhino-t...@googlegroups.com
ICriteriaQuery.AddUsedTypedValues no longer exists, it will need to be removed from the implementation in Rhino Commons. There is a good chance other methods were removed and added from various interfaces as well. as you come across these compile errors, fix, compile, run tests until all the tests are passing. The stack traces provide just about everything required to fix the code.

Nathan Stott

unread,
Sep 6, 2011, 2:52:27 PM9/6/11
to rhino-t...@googlegroups.com
When you get this working, please submit a pull request on github.

On Mon, Sep 5, 2011 at 8:43 AM, Jason Meckley <jasonm...@gmail.com> wrote:
ICriteriaQuery.AddUsedTypedValues no longer exists, it will need to be removed from the implementation in Rhino Commons. There is a good chance other methods were removed and added from various interfaces as well. as you come across these compile errors, fix, compile, run tests until all the tests are passing. The stack traces provide just about everything required to fix the code.

--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/yXhc9TgPy9YJ.

mynkow

unread,
Sep 9, 2011, 3:41:13 PM9/9/11
to rhino-t...@googlegroups.com
Just unload the ActiveRecord project and you will be fine. I just did it. Run all tests against MSsqlserver database. Fix some asserts. At the moment I have 2 failing tests.
If you use active record then you are bound to Rhino.Commons reference. Good luck.
Reply all
Reply to author
Forward
0 new messages