Spring Framework SimpleJdbcCall - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework SimpleJdbcCall class.

This code example shows how to use the following methods:executeFunction
    } 
 
 
	public String[] getActorNames() {
    	Map<String, Object> in = new HashMap<String, Object>();
        return getActorNamesCall.executeFunction(String[].class, in);
    } 
 
	@SuppressWarnings("unchecked") 
	public void deleteActors(final Long[] ids) {
    	Map<String, Object> in = new HashMap<String, Object>();
    	in.put("in_actor_ids", new SqlArrayValue(ids));
        deleteActorsCall.execute(in);
    } 
 
 
    @SuppressWarnings("unchecked") 
	public List<Actor> getActors() {
        return readActorsCall.executeObject(List.class, Collections.emptyMap());
    } 
3
CodeRank
This code example shows how to use the following methods:execute
  @Scheduled(fixedDelay=TEN_MINS, initialDelay = FIVE_MINS)
  public void updateStats() { 
    logger.debug("Updating statistics"); 
 
    statUpdate.execute();
    statMonthly.execute();
  } 
 
  @Scheduled(fixedDelay=HOUR, initialDelay = FIVE_MINS)
  public void updateGroupStats() { 
    logger.debug("Updating group statistics"); 
 
    statUpdate2.execute();
  } 
 
  @Scheduled(fixedDelay=HOUR, initialDelay = FIVE_MINS)
  public void cleanEvents() { 
    userEventService.cleanupOldEvents(MAX_EVENTS);
  } 
} 
4
CodeRank
See Code Examples for Spring Framework SimpleJdbcCall Methods: