3 Replies Latest reply on Jul 14, 2010 8:13 AM by herberson

    hibernate listener

    saadat

      hi, I am working on seam application.I need to log user activity with hibernate listener and save to postgresql db.
      if know , answer me as soon as possible.

        • 1. Re: hibernate listener
          herberson

          What activities you must log into database? Is something like insert, update and delete in som audit table?


          In addition, look at this JBoss Envers

          • 2. Re: hibernate listener
            saadat

            hi,
            I must save into database all the activity that user done on the page ,for example : login with IP 255.255.123.147 from IE browser on specific date and time,click on the link ,edit the field of the object or delete the object


            thank you very much.
            bye.

            • 3. Re: hibernate listener
              herberson

              About the login you can add a <action /> tag on event org.jboss.seam.security.loginSuccessful in your components.xml file.


              Try mapping events like click on the link into Seam actions and from them register into database.