Last active
December 27, 2015 03:47
-
-
Save bjpeterdelacruz/5a3370565d9c871373e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String update = "UPDATE table SET file = ? WHERE id = '1'"; | |
PreparedStatement stmt = conn.prepareStatement(update); | |
stmt.setBytes(1, bytes); | |
return stmt.executeUpdate() > 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment