I have a project out there which does exactly this (so long as your using
annotations).

http://code.google.com/p/wicket-flex-blazeds/source/browse/trunk/myproject-core/src/main/java/org/myproject/persistence/audit/PersistentEntityAuditor.java
it is somewhat complicated and triggers would definitely be easier.

On Tue, Sep 16, 2008 at 12:33 PM, Tracy Spratt <[EMAIL PROTECTED]>wrote:

>    I do not use those technologies, so ignore this if it is not relevant.
>
>
>
> I use SQL Server  and prefer to do timestamps using database triggers.
> Does MySQL have those?
>
>
>
> If not, why not just inject the current date time when you invoke send()?
>
>
>
> Tracy
>
>
>  ------------------------------
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *headjoog
> *Sent:* Tuesday, September 16, 2008 11:36 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Capture last edit date for a record -
> Flex,Hibernate, mySQL
>
>
>
> Hello -
>
> I am using Flex, Hibernate, and mySQL and have a simple entry form set
> up with one field. I have the standard Java and ActionScript classes
> set up and all seems to be working well.
>
> However, I'm not quite clear on how to go about capturing the last
> edit date for a record. Does anyone have an example of this using
> Hibernate with Flex? I can force it to save if I display the date on
> the form and then modify it manually, but am having problems
> automatically capturing it.
>
> Thanks,
> Joe
>
>  
>



-- 
Ryan Gravener
http://twitter.com/ryangravener

Reply via email to