Skip to content

Commit

Permalink
Merge pull request #25 from skomeand/nullpointerhotfix
Browse files Browse the repository at this point in the history
Fixed nullpointer occuring from implicit cast from Integer -> int -> Int...
  • Loading branch information
nvoxland committed Nov 15, 2013
2 parents 8f84740 + 932187b commit ede9b12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot
return table;
}

protected DataType toDataType(String hibernateType, int sqlTypeCode) throws DatabaseException {
protected DataType toDataType(String hibernateType, Integer sqlTypeCode) throws DatabaseException {
Matcher matcher = pattern.matcher(hibernateType);
if (!matcher.matches()) {
return null;
Expand Down

0 comments on commit ede9b12

Please sign in to comment.