title: Remove blank spaces (trim) in result retrieved using JpaRepository
body: <p>The Repository class is: </p>
  
  <pre><code>public interface CategoryRepository extends JpaRepository&lt;Category,Integer&gt; {
  }
  </code></pre>
  
  <p>The service class is: </p>
  
  <pre><code>@Service
  public class CategoriesService {
  
      @Autowired
      CategoryRepository repo;
  
      public Iterable&lt;Category&gt; findAll(){
          return repo.findAll();
      }
  }
  </code></pre>
  
  <p>Then i'm using <code>service.findAll()</code> to retrieve the result ArrayList. It give me correct result but since values in database contains blank space. So how can i remove that blank spaces in results in the ArrayList.(Without iterating the result arrayList and modify)</p>
  
  <p><strong>Edited</strong>
  The problem is until we get arrayList in service class we have no access to the individual data elements.</p>