ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MaaKut <ma...@pochta.ru>
Subject Re: Caching and thread safety
Date Wed, 28 Jan 2009 09:04:16 GMT

Well, now I'm really confused.
http://ibatis.apache.org/docs/dotnet/datamapper/ch04s04.html Example  i've
found tells that "SqlMapper is designed to be multi-threaded and
long-lived".
At the same time according to SDK "Public static (Shared in Visual Basic)
members of this type are safe for multithreaded operations. Instance members
are not guaranteed to be thread-safe.".
Which of them lies?


Vincent Apesa wrote:
> 
> Take a look at the documentation. The documentation examples make use of a 
> singleton ISqlMapper that is available via a base data access class.
> This should solve your problem.
> 
> Vince
> 

-- 
View this message in context: http://www.nabble.com/Caching-and-thread-safety-tp21680257p21702170.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


Mime
View raw message