Skip to content

Instantly share code, notes, and snippets.

@joubin
Created December 13, 2018 03:41
Show Gist options
  • Save joubin/922ecd38987968bb019ccac5066c455a to your computer and use it in GitHub Desktop.
Save joubin/922ecd38987968bb019ccac5066c455a to your computer and use it in GitHub Desktop.
PreparedStatement statement = connection.prepareStatement("SELECT * FROM user_data WHERE last_name = ?",
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
statement.setString(1, accountName);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment