You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Lutz Schoder <sc...@softcontract.de> on 2009/05/07 11:50:40 UTC
How to use SqlMapClient
Hi All,
I'm new with iBatis and have a question which is very important for my
design
of the database access layer:
I develop an Web-Application which routes different url to different
schemes of the same database.
That's why I need for every schema a SqlMapClient with the correct
replaced placeholders
for the schema. That works.
But on every url there are many simultaneous sessions. And here's the
question. Have I
generate for every session an own SqlMapClient or can they share one. I
found no example
which shows it.
Thanks for your help.
Lutz
--
Mit freundlichen Grüßen / Best regards
Lutz Schoder
SoftConcept GmbH
Borriesstr. 35
D-32257 Bünde
www.softcontract.de
www.softconcept.net
Amtsgericht Bad Oeynhausen, HRB 8162
Steuernummer 310/5786/0202
Geschäftsführer: Jürgen Tiemann
Re: How to use SqlMapClient
Posted by Nicholoz Koka Kiknadze <ki...@gmail.com>.
> Have I
> generate for every session an own SqlMapClient or can they share one. I
> found no example
> which shows it.
Share. It's thread safe.