Hello, I am just getting my feet wet with Ibatis.Net, and have a few questions.
I noticed in the older tutorial docs (1.2.1), there was a suggestion to create
helper classes for each mapper. That way you could wrap all of the CRUD
operations in a unified fashion. I liked this, for one because it would be easy
to mock this and test interaction rather than testing directly against DB
calls. However, there was another suggestion to create all of the helpers as
singletons, which I'm not crazy about. I was curious to know how other
developers approach the issues of abstracting the mappers for testing and
development in general. Thanks,S.
_________________________________________________________________
Spell a grand slam in this game where word skill meets World Series. Get in the
game.
http://club.live.com/word_slugger.aspx?icid=word_slugger_wlhm_admod_april08