title: Spring @CachePut to put the same value with two keys
body: <p>I'm using <code>Spring</code> with build-in cache using <code>@Cacheable</code> and <code>@CachePut</code> annotations. </p>
  
  <p>I have 2 methods in my @Service, one to save value in database, second to get value from database. Both of them uses cache.</p>
  
  <pre><code>@CachePut(key = "#code")
  MyObject saveMyObject(MyObject o, String code) {
      return dao.save(o);
  }
  
  @Cacheable(key = "#code")
  MyObject getMyObject(String code) {
      return dao.getMyObject(code);
  }
  </code></pre>
  
  <p>While saving object I would like to put it in another cache e.g.</p>
  
  <pre><code>@CachePut(key = "'TMP_'.concat(#code)")
  </code></pre>
  
  <p>but I can't use two <code>@CachePut</code> annotations on <code>saveMyObject</code> method.</p>
  
  <p>What should I do?</p>