Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Execute Stored Procedures Directly (#2154)
* Initial implementation for exec cstmt directly * Regression fix, continue to do extra metadata lookup call to fetch SP param name info * Fixes p1 * Fixes p2 * Fixes p3 * Fixes p4 * Updated test to test erroring out on retrieving out param value * Revert "Fixes p4" This reverts commit b19dfb0. * UDF fix * Accounted for premature closing of statements * Datetime out of range fix * Cstmts executed internally by the driver for XA transactions send out params as non-PLP over the wire for nvarchar and binary types * Accounted for zero param sproc * Fixed setting/registering of out of order params * Datetime fractional seconds correction * DTC tests * Zero param sproc test; Error test for casting of sproc return value * Test shuffled ordering of registering and setting cstmt params * UDF test * Skip return values from RPC on statement close if there are any * Test mix of index a param names for cstmt * Removed static callRpcDirectly variable * Test cleanup * Fixed invalid param test * Fixed test for JDK 8 * Formatting; Removed comma counting * Removed getter/setter enum * Removed comments regarding Yukon in IOBuffer * Changed returnValueIsAccessed to isReturnValueAccessed * Fixed intellij wildcard imports * Renamed DTC test class and test * Revert "Removed getter/setter enum" This reverts commit 2b35e53. * New connection string property to toggle sp_sproc_columns calls * Deleted DTC test * Removed non-driver error from TestResource * Fixed switch case for date/time types in dtv class * SQLServerConnTest and RequestBoundaryMethodTest update * Removed DTC test group * Fixed docs/comments for new CS prop * Fixed setting/registering of when using only named parameters * RPC call check considers whether the call is an internal encryption query call * Switched from useFastCallableStatements to useFlexibleCallableStatements * Fixed typo in CS prop setter/getter * Include enclave package in RPC call * Code Review Changes; Fixed threading issue * Merge conflict fix p2. * Update src/main/java/com/microsoft/sqlserver/jdbc/ISQLServerDataSource.java Co-authored-by: David Engel <v-davidengel@microsoft.com> * Update src/main/java/com/microsoft/sqlserver/jdbc/SQLServerCallableStatement.java Co-authored-by: David Engel <v-davidengel@microsoft.com> * Update src/main/java/com/microsoft/sqlserver/jdbc/SQLServerStatement.java Co-authored-by: David Engel <v-davidengel@microsoft.com> * Update src/main/java/com/microsoft/sqlserver/jdbc/SQLServerPreparedStatement.java Co-authored-by: David Engel <v-davidengel@microsoft.com> * PR review; initial named parameter and index parameter restrictions --------- Co-authored-by: David Engel <v-davidengel@microsoft.com>
- Loading branch information