You could use updatable views On Mar 17, 4:39 pm, Jim <[email protected]> wrote: > Hmmmmm... thanks. I did a search on the group, but nothing showed up > with the keywords I used. Kind of answers my question, but kind of > doesn't. > > The one difference I have from that discussion is that I want to > interact with the database, both to select and save data. So what I'm > asking is a good way to interact with the database that doesn't quite > fit with the strict transfer methodology. Transfer seems to have a > strict one to one table->object mapping where what I want is more like > ([table1, column1],[table1, column2], [table2, column1])->object > mapping. > > Any thoughts? > > On Mar 17, 3:56 pm, Sean Coyne <[email protected]> wrote: > > >http://groups.google.com/group/transfer-dev/browse_thread/thread/d63b... > > > On Mar 17, 2:09 pm, Jim <[email protected]> wrote: > > > > Hi, > > > > I an new to transfer and had a question. Is it possible or desirable > > > to create transfer objects where there is no database table? > > > > For instance, you might have a logical object that exists across > > > pysical tables (a few columns from each) that is manipulated through > > > stored procedures. > > > > Some possible solutions I considered are: > > > > 1. Create a database view for the logical object. Use a decorator to > > > override where a stored procedure is needed. > > > 2. For the table attributes in the transfer.xml file, just put a > > > blank string, then set a decorator and override the get, delete, save, > > > etc. methods as necessary. I don't know if transfer will like this. > > > 3. Forget trying to create a logical object and just use the ones > > > that relate to physical tables and get the necessary objects for the > > > information you need. > > > > Any thoughts? > > > > Thanks, > > > Jim- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received this message because you are subscribed to the Google Groups "transfer-dev" 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/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
