Very nice :)
user_id: created_by, modified_by  can also be added this way :)

Davor Hrg

On Jan 19, 2008 8:09 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Hello all.
>
> I'm writing to share a link to a wiki I just posted about getting some
> auto-magic behavior for entities via tapestry-hibernate. Using this
> quick method you can simply add 'created' and/or 'modified' fields (of
> type java.util.Date) to your entity classes and they will be updated
> properly when needed - no matter their entity type. This was inspired by
> the similar feature found in RoR which I found to be a great time saver.
> Anyway the code is yours to modify as needed, so if you need more
> restrictions and/or sophistication, hack away!
>
> http://wiki.apache.org/tapestry/Tapestry5BrainlessEntityTimestamping
>
> sincerely,
> chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to