Ars Machina
Software development isn't just technique, it is an art too

Tapestry Access Logger-Hibernate

This package adds user access (visit) logging to a database using Hibernate. All you need to do to get it working is:

  1. To include the Tapestry Access Logger-Hibernate JAR in your application classpath.
  2. Ensure that a SessionFactory is available from Tapestry-IoC.
  3. Add br.com.arsmachina.accesslogger.hibernate.Access to the list of annotation-mapped classes.
  4. Ensure that the access table exists in your database. This can be easily done setting the to hibernate.hbm2ddl.auto Hibernate configuration property to update. This can also be done using the SchemaExport Hibernate class to generate the SQL table creation script.