Juergen Hoeller
0b580d194d
Early log entry for async EntityManagerFactory initialization failure
...
Closes gh-26093
4 years ago
Juergen Hoeller
500b54b86f
Expose plain Hibernate Session(Factory) interface by default again
...
See gh-26090
4 years ago
Juergen Hoeller
942400ae47
Expose Hibernate Session(Factory)Implementor interface by default
...
Closes gh-26090
4 years ago
Сергей Цыпанов
8a04910bdd
Drop explicit zeroing at instantiation of Atomic* objects
4 years ago
Juergen Hoeller
e417318915
Revise native Hibernate 5 bootstrapping with JTA transaction manager
...
Closes gh-25858
4 years ago
Juergen Hoeller
cf2e0c7959
Selected use of ArrayList instead of LinkedList in common places
...
See gh-25652
4 years ago
Juergen Hoeller
874574513c
Replace remaining usage of LinkedList with ArrayList/ArrayDeque
...
Closes gh-25650
4 years ago
Juergen Hoeller
c99c3142ad
HibernateJpaDialect/HibernateTransactionManager alignment for 5.2+
...
See gh-25533
4 years ago
Juergen Hoeller
ba65cef52b
Upgrade Hibernate support baseline to 5.2+
...
Closes gh-25533
Closes gh-22326
4 years ago
Sam Brannen
cdc234d7db
Polish contribution
...
See gh-25446
4 years ago
XenoAmess
c547809e89
Use instanceof instead of Class#isInstance where feasible
...
Closes gh-25446
4 years ago
Sam Brannen
b33d2fe683
Clean up warnings in Gradle build, polishing, etc.
4 years ago
Sam Brannen
ab0e651547
Polish SerializationTestUtils, clean up warnings, etc.
4 years ago
Juergen Hoeller
17cab9660c
Deprecate TransactionSynchronizationAdapter
...
Closes gh-21725
4 years ago
Сергей Цыпанов
7949937655
Remove redundant assignment of default values to volatile fields
4 years ago
Sam Brannen
8099fc8178
Use try-with-resources language construct where feasible
...
Closes gh-2063
Co-authored-by: igor-suhorukov <igor.suhorukov@gmail.com>
4 years ago
Juergen Hoeller
9c1c787ee9
Polishing
5 years ago
Juergen Hoeller
e955e52f2f
Refactor method name dispatching to switch statements
...
Closes gh-25163
5 years ago
Juergen Hoeller
7207f7645c
Deprecate InstantiationAwareBeanPostProcessorAdapter
...
Consistently relying on default methods in the corresponding interfaces.
Closes gh-25165
5 years ago
Juergen Hoeller
cd4ef6f781
Consistently refer to FlushMode.MANUAL instead of outdated NEVER
...
Closes gh-25158
5 years ago
Juergen Hoeller
27d5fdc5aa
Polishing
5 years ago
Juergen Hoeller
9bf7ff23c0
Introduce EntityManager initialization callbacks
...
JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options.
Closes gh-25125
5 years ago
Juergen Hoeller
3c1ee64b7f
Explicit nullability declarations for all AOP Alliance methods
...
Includes consistent declarations in AOP Alliance related Spring AOP code.
Closes gh-24117
5 years ago
Rossen Stoyanchev
897557fd1b
Fix faulty tests
...
The tests were doing Callable async request processing in the main
thread which was already bound (via HandlerInterceptor#preProcess).
This leads to an ISE from TransactionSynchronizationManager#bindResource
but it went unnoticed because there is no Servlet container and no
async dispatch to continue processing.
See gh-24835
5 years ago
Rossen Stoyanchev
6f0a76a65f
Polishing
...
See gh-24835
5 years ago
Juergen Hoeller
2209e7cb92
Reuse empty class array constant in ClassUtils
...
Closes gh-24221
5 years ago
ZhangT
c5fb7b9fb7
Simplify some redundant code
...
Closes gh-24586
Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
5 years ago
Hyunjin Choi
ede2a1d4b2
Remove unnecessary semicolon in some enum classes
5 years ago
Juergen Hoeller
e0319b1f79
Raise log level for exceptions from EntityManager close call
...
Closes gh-24501
5 years ago
Sam Brannen
7b6d83a106
Use Gradle test fixture support for spring-web
...
See gh-23550
5 years ago
Sam Brannen
726b1bb1d0
Rename test fixture package in spring-context
...
See gh-23550
5 years ago
Sam Brannen
7cd4ddf5fc
Rename test fixture package in spring-beans
...
See gh-23550
5 years ago
Sam Brannen
4260c34b47
Rename test fixture package in spring-core
...
See gh-23550
5 years ago
Sam Brannen
61d4ee594d
Use Gradle test fixture support for spring-beans and spring-context
...
See gh-23550
5 years ago
Sam Brannen
5718bf424b
Use Gradle test fixture support for spring-core
...
See gh-23550
5 years ago
Juergen Hoeller
773b2f06a1
Avoid Connection.isReadOnly() call in resetConnectionAfterTransaction
...
Closes gh-23747
5 years ago
Phillip Webb
d945ae9191
Add blank line between java and javax imports
...
See gh-23539
Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
5 years ago
Sam Brannen
591995ecc8
Polish and revive disabled tests
...
This commit revives some previously disabled tests and converts
some usage of @Disabled to @EnabledForTestGroups(...).
5 years ago
Phillip Webb
deba2ed1b3
Add blank line between java and javax imports
...
See gh-23539
5 years ago
Sam Brannen
ad6231ad29
Add missing @Override annotations
5 years ago
Sam Brannen
3f3e41923f
Migrate rest of test suite from JUnit 4 to JUnit Jupiter
...
This commit migrates the rest of Spring's test suite to JUnit Jupiter,
except spring-test which will be migrated in a separate commit.
See gh-23451
5 years ago
Juergen Hoeller
9929d75260
Adapt to Spring Framework convention for static cache field names
...
See gh-23345
5 years ago
Mark Paluch
1890e04df1
Introduce interface cache for EntityManager and Query types
...
We now reuse interfaces for EntityManager and Query classes that
are proxied through ExtendedEntityManagerCreator and SharedEntityManagerCreator.
These caches prevent excessive object allocations through
ClassUtils.getAllInterfacesForClass(…) and
ClassUtils.getAllInterfacesForClassAsSet(…).
5 years ago
Juergen Hoeller
18bfa6b003
Consider Hibernate Query.list() as query-terminating method
...
Closes gh-23248
5 years ago
Сергей Цыпанов
1728bf17fc
Avoid unnecessary boxing where primitives can be used
...
Closes gh-23267
5 years ago
Sam Brannen
39de64bafc
Log at WARN level in case of contradicting PersistenceUnitManager setup
...
Closes gh-23257
5 years ago
Sebastien Deleuze
098ac0bbb8
Annotate Object#equals parameter with @Nullable
...
Closes gh-23093
6 years ago
Phillip Webb
9d74da006c
Migrate JUnit 4 assertions to AssertJ
...
Migrate all existing JUnit 4 `assert...` based assertions to AssertJ
and add a checkstyle rule to ensure they don't return.
See gh-23022
6 years ago
Phillip Webb
95a9d46a87
Migrate Hamcrest assertions to AssertJ
...
Migrate all existing `assertThat(..., Matcher)` assertions to AssertJ
and add checkstyle rules to ensure they don't return.
See gh-23022
6 years ago
Phillip Webb
02850f357f
Migrate exception checking tests to use AssertJ
...
Migrate tests that use `@Test(expectedException=...)` or
`try...fail...catch` to use AssertJ's `assertThatException`
instead.
6 years ago