Nested transaction in Spring app with JPA (postgres)
<p>Is it possible to have <code>PROPAGATION_NESTED</code> in <code>@Transactional()</code> with JPA using <strong>postgres</strong>? I am getting:</p>

<pre><code>org.springframework.transaction.NestedTransactionNotSupportedException:
JpaDialect does not support savepoints - check your JPA provider's capabilities
</code></pre>

<p>I tried:</p>

<pre><code>@Bean
public PlatformTransactionManager transactionManager() {
    JpaTransactionManager transactionManager = new JpaTransactionManager();
    transactionManager.setEntityManagerFactory(entityManagerFactory()
                .getObject());
    transactionManager.setNestedTransactionAllowed(true);
    return transactionManager;
}
</code></pre>

<p>But with no success.</p>