Results 1 to 3 of 3

Thread: How log all data access on Ibatis and Hibernate

  1. #1
    Join Date
    Sep 2004
    Posts
    8

    Default How log all data access on Ibatis and Hibernate

    Hi,

    I need to log all database access on a application.
    The app uses Hibernate and IBatis to database access.

    The log must have the sql command and the parameters to it.
    I do not want to use the log options of hibernate and ibatis because i want to be able to read the data in a easy format. And the native log create some things I do not need and some things I need are missing.
    Any idea ?

    Danilo.

  2. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    Danilo,

    Would something like P6Spy (http://www.p6spy.com/) help you out, or are you in need of something else?

    Rob

  3. #3
    Join Date
    Sep 2004
    Posts
    8

    Default

    Rob,

    Thanks for your help.
    I am evaluating P6Spy and it looks very good. Easy Spring integration too.
    I need to test a bit more with data type like BLOB to see if it works correctly.

    Danilo.

Similar Threads

  1. Replies: 2
    Last Post: Feb 10th, 2006, 04:00 AM
  2. Hibernate and iBatis
    By stateofmind in forum Data
    Replies: 6
    Last Post: Aug 22nd, 2005, 05:38 AM
  3. Hibernate or iBatis
    By jaybytez in forum Data
    Replies: 2
    Last Post: Feb 25th, 2005, 04:59 AM
  4. Replies: 1
    Last Post: Dec 8th, 2004, 11:13 AM
  5. Spring + iBATIS or Hibernate
    By pdemilly in forum Data
    Replies: 1
    Last Post: Oct 29th, 2004, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •