|
Hy Roberto, I have closed the Jira-14 and applied your patch. I have begun to look to yours comments in the mapping
files. In oracleClient/Complex.xml, I don’t understand
why the test don’t pass, why the cast to int is invalid ? Which type
result object the QueryForObject is returned ? I will study yours others comments. For the DAO ADO tests, I have created a special
directory for ADO MSSQL and Oracle (to be filled). By the way, you can add your ODP.NET tests in SVN and
added some for MySQL with ByteFx as the connector/NET 1.0.3 is not working in
the NPethsop. I have completed the DAO Guide. -Gilles De : roberto
[mailto:[EMAIL PROTECTED] Gilles,
you’ve probably seen that they’ve been checked into SVN. Most
of the test errors are now coming from Hashtable results and cast
exceptions. There are workarounds to make them pass if we modify the test
assertions slightly and add string helper properties for Ids (plus the JIRA-14
note). If we do that, I’d say almost all of the tests pass. The
DAO ADO tests are made for MSSQL so they don’t pass, but if a project is
going to use The
biggest item may be the Oracle stored proc test error for inserting an account
record with the way a return param is handled and the way param names are
generated. I wrote up the error explanation as a comment in the Account
SqlMap file. The good thing is that the
System.Data.OracleClient.OracleCommandBuilder does have the DeriveParameters
method, which the ODP.NET provider does not have. Anyway,
I can add ODP.NET tests if we want to have those available too…or I can
look into getting the MySQL tests up and running first (ByteFX or
Connector/Net?). Not sure which db/provider test combo is in more demand
by folks who need examples. Oh,
are you adding more to the DAO guide? I can format (remove those pesky
tabs) it and clean it up if it’s ready. Merry
Christmas (happy holidays) to everyone and have a happy new New Year! Roberto -----Original
Message----- Good, check in the SVN. Merry Christmas to Everybody. -Gilles De : roberto
[mailto:[EMAIL PROTECTED] Gilles / Ted, I’m getting
about 70+% of the NUnit tests passing using System.Data.OracleClient with some
slight mods to the MSSQL-based SqlMap files (a good chunk of the errors are due
to types of cast exceptions with numbers and dates). I can send the NUnit
output if you’d like to see it (I don’t have NUnit2Report setup but
someone may have it). Also, I can check the SqlMaps and config files into
SVN or upload them into JIRA as needed. Roberto -- -- -- -- |
