title: Spring: @Transactional with readonly=true not call conn.setReadOnly(true)
body: <p>I have annotated my service methods with <code>@Transactional</code> <code>readonly=true</code>. </p>
  
  <p>It since that spring/hibernate not call the setReadonly method of the jdbc connection driver. what can I do?</p>
  
  <p>Because of I will use a master-slave replication and the jdbc pool use the readonly flag on the connection to route the query to the master or to the slaves.</p>