Skip to content

Commit

Permalink
Fix Integer fields error when querying data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Green committed Jan 25, 2015
1 parent 3397d3f commit afcb583
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/src/org/litepal/crud/DataHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,8 @@ private String genGetColumnMethod(Class<?> fieldType) {
methodName = "getString";
} else if ("getDate".equals(methodName)) {
methodName = "getLong";
} else if ("getInteger".equals(methodName)) {
methodName = "getInt";
}
return methodName;
}
Expand Down

0 comments on commit afcb583

Please sign in to comment.