Re: difficult object relational mapping
Anton Pirker <[email protected]> Wed, 05 Mar 2008 19:51:08 +0100
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
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