Sorry, my bad, I typoed... My table objects are called like item and my classes are called Item. the return type I get is myapp.model.Item and not item. but yeah I should have thought of a better way to name all this in order to avoid confusion, sorry... Tom
On Feb 11, 10:59 pm, Christoph Zwerschke <[email protected]> wrote: > zaf schrieb: > > > okay so type does return the type of the object (myapp.model.item). > > But you wrote myapp.model.item *is* your table object, so what's the > problem? > > Btw, it is good practice to call tables like "item_table" and mapped > classes like "Item". This avoids such confusion. > > -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

