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 ADO for Oracle, then the actual ADO calls aren’t iBATIS.NET-related anyway.� And actually, I don’t have Oracle MTS dll installed so I haven’t gone through the TransactionScope tests (although all the basic SqlMap transaction tests do pass).

 

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-----
From: Gilles Bayon [mailto:[EMAIL PROTECTED]
Sent: Friday, December 24, 2004 6:08 PM
To: [email protected]
Subject: RE: iBATIS.NET System.Data.OracleClient tests

 

Good, check in the SVN.

 

Merry Christmas to Everybody.

 

-Gilles

 


De : roberto [mailto:[EMAIL PROTECTED]
Envoy� : vendredi 24 d�cembre 2004 23:24
� : [email protected]
Objet : iBATIS.NET System.Data.OracleClient tests

 

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


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22/12/2004


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22/12/2004

Reply via email to