title: Spring integration Jpa | To insert row with Jpa in java dsl
body: <p>I have searched quite some bit on the internet, but could not get a handle for below: </p>
  
  <p>A concrete example to insert a row with <code>JpaUpdatingOutboundEndpointSpec</code>.</p>
  
  <pre><code>@Bean
  public JpaUpdatingOutboundEndpointSpec insertToTable() {
      return Jpa.updatingGateway(entityManger)
                .entityClass(EntitySample.class); 
  }
  </code></pre>
  
  <p>Will above be enough? </p>
  
  <p>Please help me. </p>