On Apr 14, 6:01 pm, Clauda <claud...@gmail.com> wrote: > I have 2 transfer objects defined object A and object B: > Object A has a manytoOne property to object B with the collection type > as an array. > If I call A.getBArray() 2 times and between those calls an additional > value get inserted in B, how can I make sure that the array is not > getting cached and that I get the most recent array.
Transfer handles this automatically. When you call transfer.save(B) it'll notify the parent A object and it'll reload that collection with the new B record. * The only time you should ever really need to manually tell transfer about updates is if you insert a row into the B table without using Transfer (like through cfquery or the database console). Then you should use discardByClassAndKey() to discard the parent object. * If you're interested in how that works, look at http://docs.transfer-orm.com/wiki/Using_the_Transfer_Event_Model.cfm -- 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 transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en To unsubscribe, reply using "remove me" as the subject.