Re: using lastest version of castle.dynamicproxy with nhibernate

2010-01-22 Thread Sam Kimmel
Thanks Krzysztof. I downloaded Nant and haven't had any luck building from the trunk. I went to the buildscripts folder and ran the build.cmd as per the instructions. When I ran it I got an error: === This project is not configured to be built with MSBuild. Please use the

Re: using lastest version of castle.dynamicproxy with nhibernate

2010-01-22 Thread 2
Sam, sorry for the inconvenience, we are changing our build, moving away from nant. try to build with the following command (assuming you have NAnt in your PATH) nant -D:assembly.allow-partially-trusted-callers=true clean merge build about the reasons for not providing APTCA assemblies OOTB

Re: Setting IsolationLevel on TransactionScope doesn't work

2010-01-22 Thread Bartosz Pierzchlewicz
Ok, I found the reason and solution. During session creation process the method OpenSessionWithScope from SessionFactoryHolder is called. It has simple implementation: private static ISession OpenSessionWithScope(ISessionScope scope, ISessionFactory sessionFactory) { lock(sessionFactory)

Re: Setting IsolationLevel on TransactionScope doesn't work

2010-01-22 Thread 2
To send a bug report use donjon: http://support.castleproject.org/projects/AR/ On 22 Sty, 13:53, Bartosz Pierzchlewicz bar...@extranet.one.pl wrote: Ok, I found the reason and solution. During session creation process the method OpenSessionWithScope from SessionFactoryHolder is called. It

Re: using lastest version of castle.dynamicproxy with nhibernate

2010-01-22 Thread Sam Kimmel
Krzysztof, Thanks again. What you said makes sense. Unfortunately, I don't think the command is working. Should the final assembly sill end up in *debug *directory? I put in the fresh assembly and rebuilt the NHibernate.ByteCode.Castle project and my project but still get the same permission

Re: using lastest version of castle.dynamicproxy with nhibernate

2010-01-22 Thread xtoff
http://groups.google.com/group/castle-project-users/web/APTCA-DP-UNSUPPORTED%21.zip On 22 Sty, 20:32, Sam Kimmel sweep...@gmail.com wrote: Krzysztof, Thanks again.  What you said makes sense. Unfortunately, I don't think the command is working. Should the final assembly sill end up in *debug

Re: [ActiveRecord] Join with the same table

2010-01-22 Thread Markus Zywitza
The return type must be object[][] instead of object... 2010/1/22 Cesar Sanz the.email.tr...@gmail.com: Hi, thank you Markus for answering What I want is to RETRIEVE in one query all the data the sql-statement returns.. I've mapped the property to a field into de database

Re: [ActiveRecord] Join with the same table

2010-01-22 Thread Cesar Sanz
Do yo mean SimpleQueryobject[] q = new SimpleQueryobject[] instead of SimpleQueryobject q = new SimpleQueryobject ? - Original Message - From: Markus Zywitza markus.zywi...@gmail.com To: castle-project-users@googlegroups.com Sent: Friday, January 22, 2010 2:51 PM Subject: Re:

Re: [ActiveRecord] Join with the same table

2010-01-22 Thread Cesar Sanz
@Markus Thanks a lot man... thanks, I was eating my head up with this.. Solved now.. Glad to see always count on this group. Regards - Original Message - From: Markus Zywitza markus.zywi...@gmail.com To: castle-project-users@googlegroups.com Sent: Friday, January 22, 2010 2:51 PM

Re: using lastest version of castle.dynamicproxy with nhibernate

2010-01-22 Thread Sam Kimmel
Thanks xtoff. When I saw the assemblies you posted I realized that both the Core and the Dynamic Proxy were rebuilt. I was only rebuilding the Dynamic Proxies. Just in case anyone else is interested in getting NHibernate + Castle Dynamic Proxy working in medium trust, this is what you need to