on 6/27/2000 12:16 AM, "Herv� Guidetti" <[EMAIL PROTECTED]> wrote:

> Ok, this is really cool !
> But this works only for user objects (something like profile).
> Is there in Turbine a mecanism to have pesistant objects without to worry
> about modifications. I explain : I have got an object that represents an
> entry in a table of the database (ie ProductObject). If I modify the price
> of this product, I will have to worry about changing it directely in the
> database by creating a critieria and calling the doUpdate() method. My
> question is : is there a mecanism that automaticaly update the changes in
> the database ?
> 
> Thanks.
> Herv�

No. You need to call ProductObject.save() which can wrap around doUpdate()
or something like that. You really want to be specific about saving business
logic into the database like that.

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to