Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Date x = new Date();
  2.  
  3. ...
  4.  
  5. String SQL = "select a.1, a.2 from b JOIN a ON b.id = a.b_id where b.name = ? and a.type = ? and a.date = ?";
  6.  
  7. A istance = jdbcTemplate.queryForObject(SQL, new Object[]{variable_1, variable_2, x}, new EventInfoAndIdMapper());
  8.  
  9. String SQL = "select a.1, a.2 from b JOIN a ON b.id = a.b_id where b.name = ? and a.type = ? and DATE(a.date) = ?";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement