title: Storing different data using RedisTemplate (Spring)
body: <p>I'm using Spring's RedisTemplate to interface with Redis.</p>
  
  <p>Currently the data I'm storing in Redis uses the OpsForHash operations because that's most appropriate for the data I am storing.</p>
  
  <p>But now I want to add data of a different structure which is Key -> List</p>
  
  <p>Should I therefore, have different instances of RedisTemplate in each of my daos (parameterised as required) but connecting to the same instance of Redis? Is that correct? Or should I have a shared instance of RedisTemplate which I can use for storing both Hash-Structured data and List structured data? If it's the latter how do I do that when I'm restricted by the Parameterisation of the instance? i.e. currently I have </p>
  
  <p>Key (String) --> Map</p>
  
  <p>And now I want to add </p>
  
  <p>Key (String) --> List </p>
  
  <p>Is that possible using a single RedisTemplate? </p>
  
  <p>Thanks!</p>