Last active
September 27, 2015 03:51
-
-
Save brunkb/8d0750659fd99f1935e6 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 sql = "””INSERT INTO AUTHOR (ID, FIRST_NAME, LAST_NAME) | |
VALUES (:id, :firstName, :lastName)"”” | |
Map parameters = [id: 1337, firstName: “Pauly”, lastName: "McCoy"] | |
// jdbcTemplate is an autowired property | |
jdbcTemplate.update(sql, parameters) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment