Skip to content

Commit

Permalink
Merge pull request #404 from peterbae/JunitTesting
Browse files Browse the repository at this point in the history
Junit testing
  • Loading branch information
peterbae committed Jul 25, 2017
2 parents 9172170 + 6b905af commit c28b271
Show file tree
Hide file tree
Showing 6 changed files with 3,805 additions and 100 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/sqlserver/jdbc/Util.java
Expand Up @@ -244,7 +244,7 @@ static BigDecimal readBigDecimal(byte valueBytes[],
String name = "";
String value = "";
StringBuilder builder;

if (!tmpUrl.startsWith(sPrefix))
return null;

Expand Down Expand Up @@ -951,7 +951,7 @@ else if (("" + value).contains("E")) {
case TIME:
case DATETIMEOFFSET:
return ((null == scale) ? TDS.MAX_FRACTIONAL_SECONDS_SCALE : scale);

case CLOB:
return ((null == value) ? 0 : (DataTypes.NTEXT_MAX_CHARS * 2));

Expand Down Expand Up @@ -993,7 +993,7 @@ static synchronized boolean checkIfNeedNewAccessToken(SQLServerConnection connec
}

static final boolean use42Wrapper;

static {
boolean supportJDBC42 = true;
try {
Expand Down

0 comments on commit c28b271

Please sign in to comment.