Nhibernate facilties trunk with Nhibernate 2.0.1

2009-05-28 Thread gusgorman
Hello, I've just built castle from trunk because I'm interested in using Nhibernate facilities. Would it be as simple as replacing the Nhibernate dll supplied with my own Nhibernate dll and then rebuilding castle if I want to use an 2.0.1? I'm reluctant to use Nhibernate 2.1 in production

Re: Nhibernate facilties trunk with Nhibernate 2.0.1

2009-05-28 Thread gusgorman
own Nhibernate dll and then rebuilding castle if I want to use an 2.0.1? Sorry I'm an idiot. I meant to say if I want to use Nhibernate 2.0.1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users

Re: Nhibernate facilties trunk with Nhibernate 2.0.1

2009-05-28 Thread gusgorman
On May 28, 11:21 am, Tuna Toksoz tehl...@gmail.com wrote: There are some features you won't be able to use and probably some interface changes on ISession may be the reason, but it won't be hard, probably 5-10 minutes of work, IIRC. Many thanks for the quick reply. a bit OT, but do you know

Re: Nhibernate facilties trunk with Nhibernate 2.0.1

2009-05-28 Thread gusgorman
On May 28, 11:31 am, Tuna Toksoz tehl...@gmail.com wrote: Very very stable. Nice, thanks again, Jordan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email

Re: Nhibernate facilties trunk with Nhibernate 2.0.1

2009-05-28 Thread gusgorman
Thanks guys, Probably going to use 2.1 now. Jordan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-users@googlegroups.com To

Re: NHibernate - Using OpenSession() inside another OpenSession()

2009-06-01 Thread gusgorman
ps - Here are the important bits from the logs: 11:06:46 [8] DEBUG NHibernate.Impl.SessionImpl - [session-id=22631f08- b3fc-4b11- afc9-60251411701c] opened session at timestamp:633794512069 11:06:46 [8] DEBUG Castle.Services.Transaction.DefaultTransactionManager - Trans action 59599128 created

Re: NHibernate - Using OpenSession() inside another OpenSession()

2009-06-04 Thread gusgorman
Can you send me an example project with the expected and actual behavior? Hello, I just sent you a project via the contact form on http://tunatoksoz.com . many thanks, Jordan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Building Castle.Transactions

2011-07-26 Thread gusgorman
Hi all, I'm trying to build Castle.Transactions from the trunk. I've just installed the latest ruby, rake etc, and when I run rake prepare it fails with the error below. Any help much appreciated. cheers, Jordan version bumper not available! rake aborted! uninitialized constant

Re: How to explicitly roll back when using [Transaction] attribute in AutoTx Facility?

2011-11-09 Thread gusgorman
I can dig deeper into the source for AutoTx if someone can point me in the right direction.  Where does the transaction actually get created?  In other words, what part of AutoTx actually looks for the [Transaction] attribute? I have a feeling that part of the code is not being invoked in my

Re: How to explicitly roll back when using [Transaction] attribute in AutoTx Facility?

2011-11-10 Thread gusgorman
That's what I thought too, but indeed if I take the [Transaction] attribute away, there is no transaction.  When I put it back, there is.  I can test using the same transaction manager code I showed before. Of course MyService inherits from IMyService - which I didn't show.  Perhaps it is

Re: Best practice for implementation assembly deployment to bin folder?

2011-11-10 Thread gusgorman
Hi Scott, The solution I have used is to have a DI project which has all the dependency injection config, and has references to all the necessary interface and implementation projects. The webapp then has a reference to this, which seems to ensure that the implementation dlls are copied to the

ValidateLength attribute and custom error message

2014-03-17 Thread gusgorman
Hello all, i've compiled castle validation from the Castle-Core-3.2.2 source code, and when I try to set a custom error message on the ValidateLength attribute it is being ignored. I've had a very quick look at the code and can't immediately see the problem. The constructor is as follows:

Re: ValidateLength attribute and custom error message

2014-03-17 Thread gusgorman
i've compiled castle validation from the Castle-Core-3.2.2 source code, and when I try to set a custom error message on the ValidateLength attribute it is being ignored. As a quick fix I've added the following code to the top of the BuildErrorMessage method at line 200 in

NHibernate Integration and Automatic Transaction Management Facilities

2018-08-02 Thread 'gusgorman' via Castle Project Users
Hello all, What is the latest state of the NHibernate Integration and Automatic Transaction Management Facilities? They are both still listed on the official site ( https://github.com/castleproject/Windsor/blob/master/docs/facilities.md ) but I've seen a few posts saying they were never

Intercepting method calls with an IInterceptorSelector

2018-08-08 Thread 'gusgorman' via Castle Project Users
Hello, I want to mark methods for interception using an attribute. The attribute will have a few properties which will be then used to configure the interceptor (by setting the corresponding properties on it). The code in SelectInterceptors would check if the method has the attribute, if so