Author Login
Post Reply
Hi friends.
I take a look to Hibernate tests and the responsibility to add parenthesis to the formula is of the user.
I'm going to change the test according.
I remark the breaking change here because is not so easy to discover... (is the string inside the <formula> attribute).
If somebody want to check it he can take a look to:
hibernate-3.2\test\org\hibernate\test\cid\Order.hbm.xml
hibernate-3.2\test\org\hibernate\test\cid\Product.hbm.xml
Another matter about the same test is the <formula> it self.
In the trunk I discover that <formula> is used directly (the formula string itself) instead use the normally behavior (the formulaTemplate).
The problem is in the different implementation of CollectionPropertyMapping.
In H3.2 the responsibility to give the right "ElementColumnNames" is of the persister (by IQueryableCollection.GetElementColumnNames(string)) but in the trunk we are using an external method (StringHelper.Qualify) that use the formulaString directly.
I don't understand what the property Info.RowCount (the subject of the test) represent so I'm going to change its <formula> in a arbitrary way.
Bye.
Fabio Maulo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development