Rossen Stoyanchev
38ae282c3b
Update log category precision for all tests
...
Replace the full category capped at 36 chars with the class name only
and 1 char per package, e.g. org.apache.commons.Foo -> o.a.c.Foo
6 years ago
Juergen Hoeller
c024bdcc6f
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
6 years ago
Juergen Hoeller
7854b7ac40
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
6 years ago
Juergen Hoeller
0841dc5f99
Restore Hibernate ORM 5.1 compatibility in HibernateTransactionManager
...
Issue: SPR-17557
6 years ago
Juergen Hoeller
bf272b0b21
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
6 years ago
Juergen Hoeller
3681d58e98
SpringBeanContainer leniently applies fallback on any BeansException
...
Issue: SPR-17430
6 years ago
Juergen Hoeller
d9e7253532
SpringBeanContainer exposes bean instance returned from initializeBean
...
Issue: SPR-17332
6 years ago
Juergen Hoeller
78cad0fdd3
HibernateTransactionManager lazily acquires JDBC Connection
...
Aligned with HibernateJpaDialect, using ConnectionHandle as functional interface now. Also, LazyConnectionDataSourceProxy supports Connection holdability as applied by HibernateTransactionManager, for use with prepareConnection=true.
Issue: SPR-17216
6 years ago
stsypanov
7dba79c7c1
Use String::isEmpty instead of "".equals(arg) when arg is not null
6 years ago
Sam Brannen
cfb1ed1009
Clean up warnings and delete dead code
6 years ago
Juergen Hoeller
e64c6dfa3d
MergedBeanDefinitionPostProcessors clear internal caches on bean reset
...
Issue: SPR-17126
6 years ago
Juergen Hoeller
c46dacc209
Support for deferred access to StoredProcedureQuery output parameters
...
Issue: SPR-17115
6 years ago
Juergen Hoeller
9a43d2ec20
Revised log levels: less WARN and INFO, fine-tuned DEBUG vs TRACE
...
Issue: SPR-16946
6 years ago
Juergen Hoeller
9c08a482d1
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
6 years ago
Juergen Hoeller
93d91219fd
Support for "cacheRegionFactory" injection with Hibernate 5
...
Issue: SPR-17043
6 years ago
Juergen Hoeller
a80c5121fe
Polishing
6 years ago
Juergen Hoeller
d9e8d3bbe1
Custom "jdbcExceptionTranslator" on HibernateJpaDialect
...
Also available on LocalSessionFactoryBean through HibernateExceptionTranslator, as with our former Hibernate 3 support.
Issue: SPR-17015
6 years ago
Juergen Hoeller
d2eb4d2671
SpringBeanContainer falls back to Hibernate's default producer
...
Issue: SPR-17010
6 years ago
Juergen Hoeller
620e83c35d
SpringBeanContainer is public for custom JPA configuration purposes
...
Issue: SPR-16305
6 years ago
Juergen Hoeller
010ba33d03
Propagate read-only status through setDefaultReadOnly(true) for JPA
...
This involves a new ResourceTransactionDefinition variant that JpaTransactionManager indicates a transaction-local EntityManager on. HibernateJpaDialect uses this indicator for hard read-only behavior.
Issue: SPR-16956
6 years ago
Juergen Hoeller
63d6215247
Polishing
6 years ago
Juergen Hoeller
c0d4cb55c7
LocalSessionFactoryBuilder provides Hibernate 5.3 BeanContainer support
...
LocalSessionFactoryBean automatically registers its containing BeanFactory as a BeanContainer when Hibernate 5.3 or higher is on the classpath.
Issue: SPR-16305
6 years ago
Juergen Hoeller
5dc8b5de6d
Polishing
6 years ago
Juergen Hoeller
094c9b8bd2
LocalSessionFactoryBean and HibernateTransactionManager for JPA setup
...
SessionHolder extends EntityManagerHolder now, allowing for @PersistenceContext and co to interact with HibernateTransactionManager's thread-bound transactions, and SpringSessionContext is capable of interacting with JpaTransactionManager by detecting a plain EntityManagerHolder as well.
Issue: SPR-17002
6 years ago
Juergen Hoeller
d22d408261
Propagate read-only status through Session.setDefaultReadOnly(true)
...
Issue: SPR-16956
6 years ago
Juergen Hoeller
40efcc933c
Polishing
6 years ago
Juergen Hoeller
b6d95567e8
Explicit support for Hibernate Integrators on LocalSessionFactoryBean
...
Issue: SPR-16828
6 years ago
Juergen Hoeller
81cb740e0a
New postProcessProperties variant on InstantiationAwareBeanPostProcessor
...
Allows for skipping the now-deprecated postProcessPropertyValues callback with its expensive PropertyDescriptor retrieval requirement. RequiredAnnotationBeanPostProcessor (which is dependent on postProcessPropertyValues) and the @Required annotation itself are also deprecated now: in favor of constructor injection (or afterPropertiesSet).
Issue: SPR-16918
6 years ago
Phillip Webb
5cedd0d5d4
Consistently use tabs rather than spaces
...
Update code that has accidentally used spaces instead of tabs.
Also remove all trailing whitespace.
Issue: SPR-16968
6 years ago
Phillip Webb
0b53c1096a
Always use 'this.' when accessing fields
...
Ensure that `this.` is used consistently when accessing class
fields.
Issue: SPR-16968
6 years ago
Phillip Webb
eeebd51f57
Use consistent class design
...
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968
6 years ago
Phillip Webb
866e9d702e
Use consistent block style
...
Update all code to use a consistent block style.
Issue: SPR-16968
6 years ago
Phillip Webb
e0480f75ac
Fix javadoc checkstyle issues
...
Fix checkstyle violations for javadoc.
Issue: SPR-16968
6 years ago
Juergen Hoeller
25559b9e44
Polishing
7 years ago
Juergen Hoeller
3c8c99664f
Query termination for JPA 2.1 StoredProcedureQuery.execute() method
...
Issue: SPR-16826
7 years ago
Juergen Hoeller
504e2768de
Add SAP HANA to common JPA database platforms
...
Issue: SPR-16460
7 years ago
Juergen Hoeller
ff53d78e96
Remove bogus DataSource test from JpaTransactionManagerTests
7 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
7 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
7 years ago
Juergen Hoeller
eb9c43dcbc
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
7 years ago
Juergen Hoeller
cec7204fca
Polishing
7 years ago
Juergen Hoeller
cd4f0935c5
Revised deprecation markers
7 years ago
igor-suhorukov
83300c4b27
Polish: follow naming convention
7 years ago
Juergen Hoeller
578c078082
Polishing
7 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
7 years ago
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
7 years ago
Juergen Hoeller
39201adca4
Consistent handling of InterruptedException
...
Issue: SPR-16479
7 years ago
Juergen Hoeller
e1fa65a37c
Notes about HibernateJpaVendorAdapter settings vs native Hibernate rules
...
Issue: SPR-16428
7 years ago
Juergen Hoeller
4e194c3fbe
Deprecate outdated HibernateTemplate operations in favor of lambdas
...
Issue: SPR-16426
7 years ago
Juergen Hoeller
9d0e62ef68
Javadoc format and related polishing
7 years ago