Skip to content
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

Tvp name with stored procedure #138

Merged
merged 3 commits into from
Feb 9, 2017
Merged

Conversation

AfsanehR-zz
Copy link
Contributor

instead of the public API setTVPName

@codecov-io
Copy link

codecov-io commented Feb 7, 2017

Codecov Report

Merging #138 into dev will decrease coverage by -0.01%.

@@             Coverage Diff             @@
##                dev    #138      +/-   ##
===========================================
- Coverage     27.21%   27.2%   -0.01%     
  Complexity     1130    1130              
===========================================
  Files            95      95              
  Lines         23268   23268              
  Branches       3870    3870              
===========================================
- Hits           6333    6331       -2     
- Misses        15650   15652       +2     
  Partials       1285    1285
Flag Coverage Δ Complexity Δ
#JDBC41 27.11% <ø> (-0.02%) 1124 <ø> (-2)
#JDBC42 27.17% <ø> (+0.01%) 1130 <ø> (+3)
Impacted Files Coverage Δ Complexity Δ
...m/microsoft/sqlserver/jdbc/SQLServerDataTable.java 34.23% <ø> (ø) 9 <ø> (ø)
...oft/sqlserver/jdbc/SQLServerPreparedStatement.java 15.33% <ø> (ø) 38 <ø> (ø)
...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java 22.54% <ø> (-0.45%) 36% <ø> (ø)
...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java 45.74% <ø> (ø) 183% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a9ea96...978aed2. Read the comment docs.

@v-nisidh v-nisidh added this to the 6.1.4 milestone Feb 7, 2017
public String getTvpName() {
return tvpName;
}

/**
* Retrieves the column meta data of this data table.
*
* @deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should give details like -> @deprecated As of release 6.1.x, replaced by {@link #[YOUR_METHOD]}
Also give reasons for deprecation which will useful for all contributors.

Copy link
Contributor

@v-nisidh v-nisidh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added another comment saying:

Should give details like -> @deprecated As of release 6.1.x, replaced by {@link #[YOUR_METHOD]}
Also give reasons for deprecation which will useful for all contributors.

@@ -2136,7 +2136,8 @@ public final void setStructured(int n,
String getTVPNameIfNull(int n,
String tvpName) throws SQLServerException {
if ((null == tvpName) || (0 == tvpName.length())) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use StringUtils.isEmpty() method.

@v-nisidh v-nisidh merged commit fa4c392 into microsoft:dev Feb 9, 2017
@AfsanehR-zz AfsanehR-zz deleted the tvpName_withSP branch March 31, 2017 22:01
@lilgreenbird lilgreenbird added this to Closed/Merged PRs in MSSQL JDBC Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MSSQL JDBC
  
Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

None yet

3 participants