Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBatis maintainability ?

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody really think ibatis is better than a
well designed, albeit manually written JDBC layer ?

I feel like SQL maps are absolute HELL to debug. For simple queries they are great, but as mappings get complex and data models start changing, the maintainance, and ESPECIALLY the debugging of abstract iBatis errors is absolutely impossible.

Can somebody please tell me a reasonable, concrete way of writing a maintainable persistance layer before I go back to prepared statements and
hand written JDBC ?

I have sql maps all over the place in my ibatis files - and my data model changed - and now im getting cryptic exceptions...
 
Mohd. Yakub
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi jay,
use hibernate 3.0 and there r so many plugins and tools comes with eclipse
that make the easy development,automates code generation,ddl generation from java objects or vice-versa used with an ant .
u can use case tool andromda from http://www.andromda.org/,
even when data model changes equivalent code generation is easy.
good luck,
yakub
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi And thanks for the reply ---

Well I decided to try hibernate a while back, and spent, literally, 5 days trying to get it to work. I actually went to iBatis because it, at the very least, was simple to configure.

Any "simpler" ideas ?

-j
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic