The documentation needs review (especially odmg-tutorial and the repository guide). Now the odmg-api expect auto-update/delete="none" for all reference/collection-descriptor (instead 'false' in old version). So all odmg-auto-xxx text passages needs update. Any help on this is welcome.
All known issues are fixed, there is only one new failure when a specific combination is used: proxy, TLCache, circular references and object materialization outside a running tx. Then two different object graphs of the circular object will be instantiated and OJB will be confused.
The performance of the refactored odmg-api decrease:
before after
jdbc 1 1
pb 1,12 1,16
odmg 1,72 2,1 -30%
otm 2,75 2,9
But keep in mind it's working now ;-)I run the test suite against hsql and maxDB with "default cache" and TLCache.
regards, Armin
Armin Waibel wrote:
Hi Folks,
after rack my brains, smashing my computers and short of sleep it seems
that the odmg-api refactoring nearly finished. I will add new test cases and fix all known issues in odmg-api - except 1 failure (hope I can fix it soon). Will check in this stuff tomorrow.
That's the good news, the bad is that I have to change the auto-xxx settings of m:n relations (instead 'false' now 'none') and we have a dramatic performance decrease (60%).
Here are the important notes:
- All m:n relation need auto-update/delete 'none'. Currently the setting is changed internal - needs fix till release, update of test case mappings.
- The cascading delete behavior of the odmg-api is now adjustable in OJB.properties file and at runtime using the TransactionExt#setCascadeDelete method
- Now odmg-api can handle m:n relations
- The object state detection was improved. Now new object in references will be found, needless update statements will be prevented, proxy objects will not be materialized on commit call (except on delete).
regards, Armin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
