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

Best practices to Debug, "Ibatis in Action".

 
Mauricio Andrade
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new in iBATIS, and I wonder if the book suggest practices to debug mappings I have done to iBATIS.
I am not looking for any miracle, it is that I have no ideas.

Thanks in advance.
 
Brandon Goodin
author
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you are wanting to debug. It is possible to turn on logging so that it will show you the resulting sql and parameters being sent to the database. Here is a link on how to log http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+get+SqlMapClient+to+log+SQL+statements .
 
Tom Henricksen
Author
Ranch Hand
Posts: 144
5
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We use the p6spy that is referenced on that page and it works great for checking our SQL statements that iBatis generates.
Tom
 
Armando Perdomo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe p6spy is a great solution but it doesn't have a client and it is not easy to setup the first time. That was the reason we implemented a new solution integrating everything - Elvyx. I am pretty sure Elvyx could be useful on this kind of tasks.

In my projects I am using ibatis and elvyx help us to debug the sql statements and propose cache issues.

Greetings, Armando Perdomo ;-)
http://www.elvyx.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic