[Helma-user] difficult object relational mapping

Anton Pirker helma at gmiatlich.net
Wed Mar 5 19:51:08 CET 2008


Hi Joshua!

First, thanks for the quick response.

Joshua Paine schrieb:
> Anton,
> 
> AFAIK, this isn't possible with Helma's ORM. Either add another column 
> to your entries table with the most recent update date (a small 
> denormalization that you might well end up making anyway for performance 
> reasons)  you could keep it updated 
> either with a trigger pretty easily, I'd think. And you can mark it 
> read-only for Helma to ensure nothing tries to set it directly.


i like this idea! i think i will give it a try. sometimes i really get 
lost in trying to do everything really clean an like-in-the-books and 
forget about practical stuff.


Thanks for the tip, you probably save me from a lot of misery ;)


-
Anton

> 
> -Joshua


More information about the Helma-user mailing list