AdFactum ObjectMapper .NET Blog

Official blog of the AdFactum ObjectMapper .NET

New Release – ObjectMapper .NET 1.4.1014.0

Posted by Gerhard Stephan on November 14th, 2006

Today I updated the minor release version because of a critical bug I fixed. The bug always occurs when trying to store MarkedValueObjects with dependent objects and the hierarchy level FlatObjectWithLinks.

Ok – this sounds unique, but it’s quite a common scenario. Think of a distribution class that owns a list of contacts. You modify the distribution class and save it with hierarchy level FlatObjectWithLinks. In that case the Commit will throw an exception and you have to rollback the transaction. So that bug has been fixed.

As default all conditions are using bind Parameters. A new option within a conditioallows you to switch a condition from bind parameters to native SQL.

Condition.UseBindParameter = false;

That’s sometimes important if you want to use special database features like switching table partitions in oracle.

So wish you a successful time.
Cheers

Gerhard

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>