-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for case insensitive dynamic pocos #709
Add support for case insensitive dynamic pocos #709
Commits on Oct 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c4e8eca - Browse repository at this point
Copy the full SHA c4e8ecaView commit details -
1. Try to drop the user first so we can use the "user still connected" failure to bypass setup i.e. assume already setup correctly. This is to allow the developer to stay connected to the database (via SQLPlus or SQL Developer). Modify OracleTestProvider 1. If Oracle setup fails, propagate failure to all tests without retrying for every test in the batch. This makes all tests fail with the same exception. In the case the user is still connected, setup is bypassed. Fix Oracle build scripts 1. Stored procedures don't use any characters to denote a parameter, so they have to be fully qualified e.g. ProcName.paramName to differentiate them from column names (if the same name is used e.g. age). Fix breaking tests: 1. QueryTests.cs had couple of malformed sql statements after string concatenation (missing space). 2. Override all (Oracle)StoredProcTests.cs methods that require an additional RefCursor output parameter. 3. Override all (Oracle)QueryTests.cs paging methods that require '*' to be aliased. 4. OracleQueryTests.cs had a couple of statements ending in a semi-colon, which it didn't appreciate. 5. Fix top 1 query in "QueryMultiple ForSingleResultsSetWithMultiPoco ShouldReturnValidPocoCollection". Also provide version 12c and above syntax. 6. Skip MultiResultSetWithMultiPoco tests since Oracle also does not support it (as with MSAccess and Firebird).
Configuration menu - View commit details
-
Copy full SHA for 324f7f0 - Browse repository at this point
Copy the full SHA 324f7f0View commit details -
Revert command paramater name changes for StoredProcedure type comman…
…ds. Oracle doesn't utilize the parameter prefix in this case. Fixes #691 Give OracleDatabaseProvider its own implementation of BuildPageQuery and use "Select null from dual" instead of "Select null" when ORDER BY clause is absent. Alo include version 12c and above syntax in a comment for future reference.
Configuration menu - View commit details
-
Copy full SHA for 3e64fec - Browse repository at this point
Copy the full SHA 3e64fecView commit details
Commits on Oct 23, 2023
-
Update PetaPoco.Tests.Unit/Utilities/PagingHelperTests.cs
Co-authored-by: Stelio Kontos <37424493+Ste1io@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f39e5f7 - Browse repository at this point
Copy the full SHA f39e5f7View commit details -
Cater for optional parameter prefix in Database.AddParameter instead …
…of "undoing" the pramPrefix modification in OracleDatabaseProvider.
Configuration menu - View commit details
-
Copy full SHA for 31bcfa1 - Browse repository at this point
Copy the full SHA 31bcfa1View commit details -
Merge branch 'feature/oracle-support' of https://github.com/Curlack/P…
…etaPoco into feature/oracle-support
Configuration menu - View commit details
-
Copy full SHA for d97066b - Browse repository at this point
Copy the full SHA d97066bView commit details -
Co-authored-by: Stelio Kontos <37424493+Ste1io@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e57bf10 - Browse repository at this point
Copy the full SHA e57bf10View commit details -
Merge branch 'feature/oracle-support' of https://github.com/Curlack/P…
…etaPoco into feature/oracle-support
Configuration menu - View commit details
-
Copy full SHA for 82f67b8 - Browse repository at this point
Copy the full SHA 82f67b8View commit details
Commits on Oct 30, 2023
-
Split Oracle scripts and tests to test usage of "ordinary" and "delim…
…ited" identifiers. Add support for case insensitive dynamic objects. ExpandoPoco vs ExpandoObject. To be used by OracleOrdinaryDatabaseProvider. Add "UseOrdinaryIdentifiers" flag to IProvider to provide a global means of controlling the activation of case insensitive dynamic objects. Add "ignoreCase" optional parameter to all Database constructors (except the ones taking in a provider) and Poco factory methods. Add "UsingCaseInsensitiveProvider" configuration extension. Switch between OracleDatabaseProvider and OracleOrdinaryDatabaseProvider based on "UseOrdinaryIdentifiers" flag when Resolving Provider.
Configuration menu - View commit details
-
Copy full SHA for 8b290d7 - Browse repository at this point
Copy the full SHA 8b290d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6731db - Browse repository at this point
Copy the full SHA e6731dbView commit details