Skip to content

Commit

Permalink
Merge pull request #5 from gsgalloway/patch-1
Browse files Browse the repository at this point in the history
Use PGobject.setType("inet") in InetAddressType
  • Loading branch information
The-Alchemist authored Nov 2, 2016
2 parents 31d7a4f + 6b72837 commit b58a825
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void nullSafeSet(PreparedStatement preparedStatement, Object o, int i, Se
} else {
PGobject object = new PGobject();
object.setValue(((InetAddress) o).getHostAddress());
object.setType("inet");
preparedStatement.setObject(i, object);
}
}
Expand Down

0 comments on commit b58a825

Please sign in to comment.