Skip to content

Commit

Permalink
1.0.2 bugfix release:
Browse files Browse the repository at this point in the history
- support JDBC drivers that do not implement ResultSetMetadata.getTableName(i)
  • Loading branch information
Laurent Van der Linden committed Jan 27, 2015
1 parent 82f0a9f commit 0351217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repositories {
}

group = 'com.github.sqlbuilder'
version = '1.0.1'
version = '1.0.2'

configurations {
embedded
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/sqlbuilder/JoiningRowHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public abstract class JoiningRowHandler<T> : ListRowHandler<T>, RowHandler, Refl
if (table == null) {
return columnToIndex.get(column)
} else {
return columnToIndex.get(table + column)
return columnToIndex.get(table + column) ?: columnToIndex.get(column)
}
}

Expand Down

0 comments on commit 0351217

Please sign in to comment.