Hi group, I was wondering if there was any kind of super-clever way of managing this kind of scenerio with Transfer:-
The flow of our application currently looks like this:- On 1st login .... 1) Student logs in 2) Student details are taken from our Student database ( non-Transfer ) 3) Transfer objects are populated with the data and stored in session 4) At key points in the application the data is saved back to the Student database and our Application's ( Transfer-based ), not at the same time though. ... so say the user logs out after a save and then later down the line logs back in, and for talking sake the admin staff here make a change to that Student's records in the Student database before they do. On 2nd+ login I need to do something like this .... 1) Student logs in again 2) Student details are taken from our Student database again 3) Transfer objects are populated with the data and stored in session again 4) The Service checks to see if there is an existing record for this student in the Application database. If there is I need to generate the Transfer objects from the Application database and then update their properties using the fresh Student Transfer objects The objects stored in session should then be the Application database ones ( to make sure I'm using the existing database records from this point forward ). I've not started coding this 2nd part yet so before I do I just wanted to ask if anyone has done anything similar, if there is anything in Transfer for this, and if not how have people managed these kinds of updates across their object relationships. Thanks in advance, James -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 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
