Sam Brannen
1beb7068f6
Use new AssertJ exception assertions
2 years ago
Juergen Hoeller
edd66d96dd
Fix accidental use of deprecated setFlushMode method
...
Closes gh-28234
3 years ago
Sam Brannen
071c2988d5
Suppress deprecation warnings in tests in build
3 years ago
Sam Brannen
f8a5a8d7be
Use modern language features in tests
3 years ago
Juergen Hoeller
0a92d84778
Check open status before close call (aligned with EntityManagerFactoryUtils)
...
Closes gh-27972
3 years ago
Juergen Hoeller
b167e1a93f
Remove unnecessary final declarations (for consistency)
3 years ago
Сергей Цыпанов
0268e76298
Improve mapping function in ExtendedEntityManagerCreator.createProxy()
...
Closes gh-27456
3 years ago
Juergen Hoeller
715f300fa1
Avoid expensive isReadable() check during classpath scan
...
Closes gh-25741
See gh-21372
3 years ago
Sam Brannen
48a507a993
Clean up warnings
3 years ago
Sam Brannen
96e4d3a530
Fail Gradle build for Javadoc warnings
...
In order to catch Javadoc errors in the build, we now enable the
`Xwerror` flag for the `javadoc` tool. In addition, we now use
`Xdoclint:syntax` instead of `Xdoclint:none` in order to validate
syntax within our Javadoc.
This commit fixes all resulting Javadoc errors and warnings.
This commit also upgrades to Undertow 2.2.12.Final and fixes the
artifact names for exclusions for the Servlet and annotations APIs.
The incorrect exclusion of the Servlet API resulted in the Servlet API
being on the classpath twice for the javadoc task, which resulted in the
following warnings in previous builds.
javadoc: warning - Multiple sources of package comments found for package "javax.servlet"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.http"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.descriptor"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.annotation"
Closes gh-27480
3 years ago
Sam Brannen
bfdc99ab79
Fix Javadoc errors
...
See gh-27480
3 years ago
Brian Clozel
cecc0849a8
Upgrade to Gradle 7.2
...
This commit upgrades Gradle to 7.2.
Gradle configuration names are updated accordingly.
This also upgrades Gradle build plugins.
See gh-26870
3 years ago
Brian Clozel
77a6dce1b5
Review Servlet API version in Spring OXM tests
...
This commit ensures that Servlet 4.0+ is used in the Spring OXM test
suite, as Servlet 4 specific APIs are used in the tests.
This problem was uncovered while fixing gh-27365
3 years ago
Rebwon
7954dc7a00
Polish tests
...
Closes gh-26708
4 years ago
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