Juergen Hoeller
2b96a61063
Apply transactionIsolationLock in EclipseLinkConnectionHandle as well
...
Closes gh-36165
2 weeks ago
Juergen Hoeller
62fd09dfa5
Polishing
3 weeks ago
Yanming Zhou
d3a385d222
Retain original requested bean class for SpringContainedBean
...
Closes GH-36115
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
3 weeks ago
Sam Brannen
e94aaab288
Improve exception message for JPA entity scanning
4 weeks ago
Juergen Hoeller
8999336458
Make SessionHolder publicly accessible for external resource management
...
Closes gh-35799
3 months ago
Sébastien Deleuze
5aec239261
Add hints for entities package-private methods
...
Closes gh-35711
3 months ago
Juergen Hoeller
6f81cb625c
Avoid unnecessary bridge method resolution around getMostSpecificMethod
...
Closes gh-35780
3 months ago
Juergen Hoeller
0243059f53
Polishing
3 months ago
Sébastien Deleuze
694224f1a6
Remove outdated Spring version mentions
...
Close gh-35696
3 months ago
Juergen Hoeller
b85993c7cb
Add test for HibernatePersistenceConfiguration
...
See gh-35662
4 months ago
Juergen Hoeller
228662ad9f
Derive StatelessSession from transactional Session on Hibernate 7.2
...
Closes gh-35664
See gh-7184
4 months ago
Juergen Hoeller
c063249bd4
Consistent support for JPA 3.2 transaction timeout
...
Closes gh-35663
4 months ago
Juergen Hoeller
765e30c3a6
Polishing
4 months ago
Juergen Hoeller
beb224e3f9
Add support for JPA 3.2 PersistenceConfiguration
...
See gh-35662
4 months ago
Sam Brannen
cfb268f6de
Suppress warning in SmartPersistenceUnitInfoInvocationHandler
4 months ago
Brian Clozel
44de925c5e
Add reflection hints for SpringPersistenceUnitInfo
...
Fixes gh-35655
4 months ago
Juergen Hoeller
e901516732
Make SpringPersistenceUnitInfo public for custom bootstrapping purposes
...
See gh-35622
4 months ago
Juergen Hoeller
d216236aac
Revise PersistenceUnitInfo management for compatibility with JPA 3.2/4.0
...
Closes gh-35622
4 months ago
Juergen Hoeller
b4dcb36b21
Align currentStatelessSession() implementation with currentSession()
...
See gh-7184
4 months ago
Juergen Hoeller
83efe8cff4
Remove deprecation on CandidateComponentsIndex(Loader)
...
See gh-35472
4 months ago
Sébastien Deleuze
7635ac38f6
Use uppercase for classpath-related static final field names
...
Closes gh-35525
4 months ago
Sam Brannen
0c61ac956b
Add missing @Override annotations
...
... and suppress "serial" warnings
4 months ago
Sébastien Deleuze
7a5d3a55fe
Refine EntityManagerRuntimeHints for Hibernate 7.1+
...
This commit adds support for Hibernate 7.1+ SqmQueryImpl class in
EntityManagerRuntimeHints, keeps the support for the former
QuerySqmImpl class for Hibernate 7.0 compatibility and adds a
related test.
Closes gh-35462
5 months ago
Juergen Hoeller
5b387615c6
Clarify intended nestedTransactionAllowed default in JpaTransactionManager
...
Closes gh-35212
5 months ago
Juergen Hoeller
59804ab396
Align JpaTransactionManager default for nestedTransactionAllowed flag
...
Closes gh-35457
5 months ago
Juergen Hoeller
876b7d4209
Upgrade to Hibernate ORM 7.1
...
Closes gh-35308
6 months ago
Juergen Hoeller
03a8933f58
Add transactional support for StatelessSession (next to regular Session)
...
Exposes JPA-style shared proxy instances through LocalSessionFactoryBean.
Closes gh-7184
6 months ago
Juergen Hoeller
22a23322f3
Polishing
7 months ago
Sam Brannen
bb7c497bdd
Remove obsolete code from internal HibernateTransactionObject
...
See gh-35111
7 months ago
Juergen Hoeller
2e9e45ee55
Restore translation of IllegalArgumentException for JPA
...
See gh-35111
7 months ago
Juergen Hoeller
0bee65482f
Document actual status of orm.hibernate5 and Hibernate JPA support
...
See gh-35111
7 months ago
Juergen Hoeller
d47f1a1749
Migrate orm.hibernate5 to orm.jpa.hibernate package for Hibernate ORM 7.0
...
Closes gh-35111
7 months ago
Juergen Hoeller
b6aa6899a8
Polishing
7 months ago
Juergen Hoeller
04f3975e0f
Support for qualified EntityManager/EntityManagerFactory injection (JPA 3.2)
...
Closes gh-33414
7 months ago
Spring Builds
16edf9867a
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
8 months ago
Spring Builds
aee29b7f30
Update copyright headers in source files
...
This commit updates Java, Kotlin, and Groovy source files to use the
"<year>-present" pattern in copyright headers.
Closes gh-35070
8 months ago
Juergen Hoeller
d8f8e76791
Check potentially more specific HibernateException cause as well
...
Closes gh-34633
11 months ago
Juergen Hoeller
beb3a91847
Upgrade to Hibernate ORM 7.0.0.Beta4
...
Includes Hamcrest 3.0
See gh-33750
11 months ago
Sébastien Deleuze
7bc712e304
Upgrade NullAway to 0.12.4
...
This commit also slightly refines nullness but without
significant user-side impact expected.
Closes gh-34525
11 months ago
Sébastien Deleuze
2f8ff7eb41
Specify generic type nullness in spring-orm
...
See gh-34140
1 year ago
Sébastien Deleuze
73b24b6f7b
Refine null-safety in the spring-orm module
...
Closes gh-34159
1 year ago
Sébastien Deleuze
bc5d771a06
Switch to JSpecify annotations
...
This commit updates the whole Spring Framework codebase to use JSpecify
annotations instead of Spring null-safety annotations with JSR 305
semantics.
JSpecify provides signficant enhancements such as properly defined
specifications, a canonical dependency with no split-package issue,
better tooling, better Kotlin integration and the capability to specify
generic type, array and varargs element null-safety. Generic type
null-safety is not defined by this commit yet and will be specified
later.
A key difference is that Spring null-safety annotations, following
JSR 305 semantics, apply to fields, parameters and return values,
while JSpecify annotations apply to type usages. That's why this
commit moves nullability annotations closer to the type for fields
and return values.
See gh-28797
1 year ago
Juergen Hoeller
5cbb5d4d70
Upgrade to Hibernate ORM 7.0.0.Beta3 and Validator 9.0.0.CR1
...
Using relocated Maven coordinates.
See gh-33750
1 year ago
Juergen Hoeller
54a90b20ed
Avoid logger serialization behind shared EntityManager proxy
...
See gh-34084
1 year ago
Juergen Hoeller
2dbad8de41
Avoid unnecessary logger serialization
...
See gh-32459
1 year ago
Juergen Hoeller
cb633832a9
Remove unused HibernateCallback interface
...
See gh-33750
1 year ago
Juergen Hoeller
949432ce8b
General upgrade to Jakarta EE 11 APIs
...
Includes removal of ManagedBean and javax.annotation legacy support.
Includes AbstractJson(Http)MessageConverter revision for Yasson 3.0.
Includes initial Hibernate ORM 7.0 upgrade.
Closes gh-34011
Closes gh-33750
1 year ago
Brian Clozel
f204f4962d
Document XML parser usage against security false positives
...
Prior to this commit, our XML parser usage would be already haredened
against XXE (XML External Entities) attacks. Still, we recently received
several invalid security reports claiming that our setup should be
hardened.
This commit documents a few usages of XML parsers to add some more
context and hopefully prevent future invalid reports.
Closes gh-33713
1 year ago
Juergen Hoeller
594ed95f3c
Replace transaction isolation synchronization with ReentrantLock
...
Closes gh-33546
1 year ago
Yanming Zhou
8941e2876e
Replace 'e.g.' with 'for example' in documentation and comments
...
Closes gh-33515
1 year ago