Skip to content

Commit

Permalink
Merge pull request #70 from Ericj100/master
Browse files Browse the repository at this point in the history
AbstractRowSetResultSetAdapter中wasNullFlag判断错误
  • Loading branch information
hanahmily committed May 19, 2016
2 parents 8f94e92 + c52d09b commit 5a5073d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sharding-jdbc-config-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
<dependency>
<groupId>com.dangdang</groupId>
<artifactId>sharding-jdbc</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public String getString(final String columnLabel) throws SQLException {
public boolean getBoolean(final int columnIndex) throws SQLException {
Object cell = getObject(columnIndex);
if (null == cell) {
wasNullFlag = false;
wasNullFlag = true;
return false;
}
return (cell instanceof Boolean) ? (Boolean) cell : Boolean.valueOf(cell.toString());
Expand Down

0 comments on commit 5a5073d

Please sign in to comment.