If I remember correctly, it was removed because of the potential to create
very fragile code.That is, you pass a value that only somewhere down the
chain is used. That is almost certainly going to bite you at some point.
You can provide our own ISubDependnecyResolver to resurrect this option,
Hi,
With this version of NHibernate you need to specify the correct dialect for
your version of Oracle: Oracle8iDialect, Oracle9iDialect, Oracle10gDialect,
or OracleLiteDialect.
-- Roelof
On Wed, Jun 3, 2009 at 12:46 PM, Mark Jensen don...@gmail.com wrote:
Hi
I have just updated an
ahh, great
Thanks
:)
On Jun 3, 12:57 pm, Roelof Blom roelof.b...@gmail.com wrote:
Hi,
With this version of NHibernate you need to specify the correct dialect for
your version of Oracle: Oracle8iDialect, Oracle9iDialect, Oracle10gDialect,
or OracleLiteDialect.
-- Roelof
On Wed, Jun 3,
I think it would be more like
session = sessionManager.OpenSession();
Hashtable dependencies = new Hashtable();
dependencies.Add(sessopm, session);
return container.Resolve(serviceType.FullName, dependencies);
This assumes the serviceType ctor has an
In my site I want subviews/view components to be able to append their
custom javascript blocks to HTML head. I basically use
CaptureFor(@id:javascript, @append:after) in the subviews for that.
However, the @append parameter is being ignored in such case.
In other words, given a
Hello, we just tried upgrading to a late trunk version, with NHibernate
2.1 alpha3 and after resolving some changes I have come across this issue:
[AmbiguousMatchException: Ambiguous match found.]
System.RuntimeType.GetPropertyImpl(String name, BindingFlags bindingAttr,
Binder binder, Type
Thats dont it, its working, fantastic.
Does the dependency object need to be disposed in a certain way.
Currently my ReleaseInstance method just calls session.close and then
session=null
However the session seems to permamently stay closed on any subsequent
requests?
On 3 June, 13:07, Craig
Or alternatively, should a wcf service have a specific lifestyle?
Maybe thats the issue.
On 3 June, 14:34, Andyk andym.kni...@googlemail.com wrote:
Thats dont it, its working, fantastic.
Does the dependency object need to be disposed in a certain way.
Currently my ReleaseInstance method just
On Wed, Jun 3, 2009 at 8:34 AM, Andyk andym.kni...@googlemail.com wrote:
Thats dont it, its working, fantastic.
great!
Does the dependency object need to be disposed in a certain way.
Currently my ReleaseInstance method just calls session.close and then
session=null
However the session
WCF Services are typically best handled as singletons
On Wed, Jun 3, 2009 at 8:41 AM, Andyk andym.kni...@googlemail.com wrote:
Or alternatively, should a wcf service have a specific lifestyle?
Maybe thats the issue.
On 3 June, 14:34, Andyk andym.kni...@googlemail.com wrote:
Thats dont it,
Thats correct.
One the first request everything is fine, session is opened in the
GetInstance, the wcfservice uses the session fine, then the
ReleaseInstance closes the session.
Upon execution of the 2nd request, a new session is created in the
GetInstance, and its properties show IsOpen=true.
Yes, so in this case, your service lifestyle should be transient and you
should do a Kernel.ReleaseComponent in ReleaseInstance
On Wed, Jun 3, 2009 at 9:07 AM, Andyk andym.kni...@googlemail.com wrote:
Thats correct.
One the first request everything is fine, session is opened in the
Brilliant, works everytime now. Thanks for your time and help Craig!
On 3 June, 15:11, Craig Neuwirt cneuw...@gmail.com wrote:
Yes, so in this case, your service lifestyle should be transient and you
should do a Kernel.ReleaseComponent in ReleaseInstance
On Wed, Jun 3, 2009 at 9:07 AM,
Are you interested in sending me your wcf integration code. It would be
useful to others and possible something to integrate into WCF Facility
On Wed, Jun 3, 2009 at 9:34 AM, Andyk andym.kni...@googlemail.com wrote:
Brilliant, works everytime now. Thanks for your time and help Craig!
On 3
Here's the draft. I've got the following classes:
-Country
-Image (Single Table Inheritance)
-Map
-Photo
Statements:
Map and Photo inherit from Image.
A Country can have as many Photos as possible.
A Country can have as many Maps as possible.
Situation:
The database is populated with
Hi,
I'm unit testing my project and am getting the following error when I
run more than 1 unit test fixture at the same time: You can't invoke
ActiveRecordStarter.Initialize more than once
My project structure is:
Tests Directory
|- AbstractModelTestCase (from:
I can certainly do that. Give me a a few hours and I'll translate it
into a sample project and send it over to you tomorrow!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to
The Lock method on NHibernate Session is similar to what you're asking.
Don't think AR has that method, but you can always access the underlying
session.
Ted
On Wed, Jun 3, 2009 at 10:37 PM, MattF mattjfen...@gmail.com wrote:
if anyone knows an answer to this, i would still very much like to
can you explain what the lock method does and why it works?
i saw someone using it but i didn't really know what the consequences
are.
thanks
On Jun 4, 2:28 pm, Ted Gifford tedford...@gmail.com wrote:
The Lock method on NHibernate Session is similar to what you're asking.
Don't think AR has
19 matches
Mail list logo