From: Richard B. <rb...@ar...> - 2003-09-19 19:48:51
|
Hi, I've made a number of bug fixes with some testing I was doing. I have put the changes in CVS and released a new version on the web site. Also, I have included a sample project that shows how the framework can be used (very simple order entry system). Let me know what you think. The main issues were: 1. AutoSaving of objects via an association was broken. For example, saving an order header and auto saving all the lines automatically. The problem related to the way transactions were handled. Each object started a transaction, but only the parent did the commit. Given the nesting of transactions this meant we had open transactions, and no database updates. 2. Collections within objects For example (again) order lines inside an order header. There is no need to "seed" the collection any more. This makes the business objects simpler to code. 3. Association processing If there were multiple associations for an object and some were marked as AutoRetrieve="False" any subsequent associations were ignored. This also applied to all the other Auto* functions as well. - Richard Banks http://www.arel.com http://www.arelretail.com |