Open GoogleCodeExporter opened 9 years ago
Interesting, I am not sure there is an easy way to create a db independent test
case family. stored procs, temp tables, information schema etc, all differ.
I would however be happy to have a test suite for oracle if you feel like
committing a patch to dapper.contrib.
Original comment by sam.saff...@gmail.com
on 20 Jun 2011 at 11:03
Sam/Marc,
I'd be happy to, what is the process of committing a patch to contrib?
Stephen
Original comment by stephenp...@gmail.com
on 20 Jun 2011 at 9:43
simplest would be to clone the repo on google code, port the test file and add
it to the Dapper.Test project actually ... maybe create TestOracle.cs ... then
we can add a compile flag for oracle
Original comment by sam.saff...@gmail.com
on 21 Jun 2011 at 2:10
There are 4 projects
Dapper
DapperNET35
Dapper.Contrib
Dapper.Contrib.Tests
DapperTest
I don't see a project Dapper.Test with the dot between them so assume you
mean DapperTest and add a file (OracleTests.cs) that is
the functional equivalent as Tests.cs but for Oracle.
Original comment by stephenp...@gmail.com
on 21 Jun 2011 at 3:38
Stephan
yerp I meant DapperTest
awesome
Original comment by sam.saff...@gmail.com
on 24 Jun 2011 at 2:07
Sam,
Just now getting around to this..sorry.
Anyways it seems that the Oracle .NET provider tries to validate every
statement in the command object and will not let you construct a malformed
query, at least one without a 'From' clause. Guess the simple examples have
to be commented out for right now,or I can did in and see if there may be a
way to turn off validation on the command object.
Stephen
Original comment by stephenp...@gmail.com
on 30 Jun 2011 at 4:11
Original issue reported on code.google.com by
stephenp...@gmail.com
on 17 Jun 2011 at 4:28