Subclass of LocalDataSourceConnectionProvider that returns a
transaction-aware proxy for the exposed DataSource. Used if
LocalSessionFactoryBean's "useTransactionAwareDataSource" flag is on.
author: Juergen Hoeller since: 1.2 See Also:LocalSessionFactoryBean.setUseTransactionAwareDataSource
getDataSourceToUse(DataSource originalDataSource) Return a TransactionAwareDataSourceProxy for the given DataSource,
provided that it isn't a TransactionAwareDataSourceProxy already.
public boolean
supportsAggressiveRelease() This implementation returns true: We can guarantee
to receive the same Connection within a transaction, as we are
exposing a TransactionAwareDataSourceProxy.
This implementation returns true: We can guarantee
to receive the same Connection within a transaction, as we are
exposing a TransactionAwareDataSourceProxy.
Methods inherited from org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider