[transfer-dev] Maintaining Cache w/ Framework Reload

2011-09-16 Thread Robert Rawlins
Hello Guys, I've got an application using Transfer along with MG and CS that runs a fairly substantial cache on it, which is really very important to performance. One thing I've been finding ever so frustrating is that if I make a small change to a service layer object, a bug fix for instance

[transfer-dev] Re: TQL Many-To-Many Bidirectional Relationship

2011-09-16 Thread Pedro Bezunartea López
Hi Robert, It should not be too difficult, I've added all kind of methods to my decorators. This is how I'd do it: 1. The model persists its data in 3 tables for the 2 objects and their many to many relationship (foos, bars and lnk_FooBar). Transfer.xml should look something like: ...

[transfer-dev] Re: Maintaining Cache w/ Framework Reload

2011-09-16 Thread Pedro Bezunartea López
Hi again, Robert, My experience is that unless you only modify the views, you need to reinit the framework, and loose cached objects... honestly, I don't see how you could keep objects cached that may have changed their behaviour when you modify their code. :P Cheers, Pedro. -- Before post

[transfer-dev] ad multiple childs in m2m relation

2011-09-16 Thread Marc
Hi, I have an object, "Role" and an object "Rights". Roles and Rights have a manyToMany relation. I want to associate multiple rights to a role. The roles and rights are static - only the linking table gets updated to reflect which rights are associated with a given role. I figure to do it lik