[eluser]Basketcasesoftware[/eluser]
Ok. The context implied the code that followed was without ORM. Can you show how you would do it without it then?
In fact, what exactly are you trying to do with the code? And DataMapper is up to version 1.8 now. If you are still using DMZ 1.7.1 (which is implied by you posting in this thread), there might be features available that might make things easier anyways.