Polishing (includes varargs for selected setters)
This commit is contained in:
@@ -217,7 +217,7 @@ public class JpaTransactionManager extends AbstractPlatformTransactionManager
|
||||
* The DataSource should match the one used by the JPA EntityManagerFactory:
|
||||
* for example, you could specify the same JNDI DataSource for both.
|
||||
* <p>If the EntityManagerFactory uses a known DataSource as connection factory,
|
||||
* the DataSource will be autodetected: You can still explictly specify the
|
||||
* the DataSource will be autodetected: You can still explicitly specify the
|
||||
* DataSource, but you don't need to in this case.
|
||||
* <p>A transactional JDBC Connection for this DataSource will be provided to
|
||||
* application code accessing this DataSource directly via DataSourceUtils
|
||||
@@ -259,7 +259,7 @@ public class JpaTransactionManager extends AbstractPlatformTransactionManager
|
||||
* Set the JPA dialect to use for this transaction manager.
|
||||
* Used for vendor-specific transaction management and JDBC connection exposure.
|
||||
* <p>If the EntityManagerFactory uses a known JpaDialect, it will be autodetected:
|
||||
* You can still explictly specify the DataSource, but you don't need to in this case.
|
||||
* You can still explicitly specify the DataSource, but you don't need to in this case.
|
||||
* <p>The dialect object can be used to retrieve the underlying JDBC connection
|
||||
* and thus allows for exposing JPA transactions as JDBC transactions.
|
||||
* @see EntityManagerFactoryInfo#getJpaDialect()
|
||||
|
||||
Reference in New Issue
Block a user