Juergen Hoeller
997ca5cd3f
Query termination for JPA 2.1 StoredProcedureQuery.execute() method
...
Includes backported support for JPA 2.2 getResultStream() method.
Issue: SPR-16826
2018-05-16 09:46:11 +02:00
Juergen Hoeller
c15f23bf0c
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
(cherry picked from commit eb9c43d )
2018-03-07 16:23:12 +01:00
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
2018-02-22 14:27:57 +01:00
Juergen Hoeller
33d655a634
Consistent handling of InterruptedException (plus setSchedulerFactory)
...
Issue: SPR-16479
Issue: SPR-16439
(cherry picked from commit 39201ad )
2018-02-12 13:44:54 +01:00
Juergen Hoeller
f187ca6413
Notes about HibernateJpaVendorAdapter settings vs native Hibernate rules
...
Issue: SPR-16428
(cherry picked from commit e1fa65a )
2018-02-12 13:40:32 +01:00
Timo Meinen
28f15057ac
Log SQL parameters in EclipseLink when using showSql
...
As of EclipseLink 2.4.0 - Juno this is not sufficient to log
SQL parameter binding. Additionally,
eclipselink.logging.parameters must be enabled.
Issue: SPR-16383
(cherry picked from commit 823a16c )
2018-01-19 18:43:18 +01:00
Juergen Hoeller
a9e2040831
HibernateJpaVendorAdapter properly checks connectionReleaseOnClose
...
Issue: SPR-16162
2017-11-14 17:17:24 +01:00
Juergen Hoeller
d52d9fd268
HibernateJpaVendorAdapter preserves connection release mode for JTA
...
Issue: SPR-16162
2017-11-14 12:30:49 +01:00
Juergen Hoeller
bb41ccefc0
Deprecate HibernateJpaSessionFactoryBean (against Hibernate 5.2)
...
Issue: SPR-16016
(cherry picked from commit 66a6fda )
2017-10-04 13:18:17 +02:00
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
Juergen Hoeller
21ac764e5c
Polishing
2017-03-24 13:41:34 +01:00
Juergen Hoeller
c31bfe65aa
Drop outdated DeferredQueryInvocationHandler.finalize() implementation
...
Issue: SPR-15363
(cherry picked from commit b2a6a57 )
2017-03-24 13:40:58 +01:00
Juergen Hoeller
7ed4884eaa
Recent dialects for MySQL and SQL Server (as far as possible in 4.3.x)
...
Issue: SPR-15255
2017-02-16 14:20:33 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Juergen Hoeller
04af30daed
JPA/Hibernate docs: transaction management, JTA setup
...
Issue: SPR-14957
(cherry picked from commit 2f80b84 )
2016-12-19 00:55:19 +01:00
Juergen Hoeller
acdf139137
DefaultPersistenceUnitManager extracts jar file from default persistence unit root URL
...
Issue: SPR-14749
(cherry picked from commit bb7d207 )
2016-09-26 16:21:33 +02:00
Juergen Hoeller
6eab5622c7
Renamed setDefaultPersistenceUnitRootLocation to setPersistenceUnitRootLocation
...
(cherry picked from commit f1ab37c )
2016-08-17 22:18:19 +02:00
Stephane Nicoll
d057099c17
Add setter for defaultPersistenceUnitRootLocation
...
This commit adds a setter for the default persistence unit's
defaultPersistenceUnitRootLocation attribute.
2016-08-17 17:41:47 +02:00
Juergen Hoeller
79a56967a1
PersistenceAnnotationBeanPostProcessor obtains default EntityManagerFactory via getBean(Class) algorithm
...
Issue: SPR-7549
(cherry picked from commit 6157fad )
2016-08-11 23:25:35 +02:00
Juergen Hoeller
7d1c2f191a
Consistent default connection release mode with Hibernate 5.1
...
Issue: SPR-14548
2016-08-08 14:27:24 +02:00
Juergen Hoeller
9ee1dc79fd
Deprecate JpaSystemException(PersistenceException) constructor to prepare for removal in Spring 5
...
Issue: SPR-13827
2016-07-26 01:29:51 +02:00
Juergen Hoeller
92d78c10a2
Polishing (backported from master)
2016-07-06 17:13:18 +02:00
Juergen Hoeller
711eb99812
HibernateJpaVendorAdapter and LocalSessionFactoryBuilder enforce Hibernate 5.2's connection handling mode DELAYED_ACQUISITION_AND_HOLD
...
Issue: SPR-14393
2016-06-24 12:37:31 +02:00
Juergen Hoeller
5e08598a2a
HibernateJpaDialect accepts equivalent connection for proper reset as well
...
Issue: SPR-14393
2016-06-23 18:24:09 +02:00
Juergen Hoeller
9394616f8f
Support for Hibernate ORM 5.2
...
Issue: SPR-14327
2016-06-02 23:35:31 +02:00
Juergen Hoeller
abfe3f209d
DefaultPersistenceUnitManager can determine persistence unit root from orm.xml location
...
Issue: SPR-14246
2016-05-26 23:57:49 +02:00
Johnny Lim
44e652f99e
Remove duplicate words
...
Closes gh-1039
2016-04-19 08:24:21 +02:00
Juergen Hoeller
836a321ab2
JPA ClassFileTransformerAdapter defensively backs out when called from within a transform call
...
Issue: SPR-13886
2016-04-12 21:44:17 +02:00
Juergen Hoeller
74608e6b49
Polishing
2016-04-12 16:03:57 +02:00
Juergen Hoeller
7fcb277de9
Consistent behavior for unwrap(null) on JPA and Bean Validation wrappers
...
Includes a fix for Query unwrapping before passing it to addNamedQuery.
Issue: SPR-13960
Issue: SPR-13957
2016-02-18 16:19:09 +01:00
Juergen Hoeller
50829c9fdc
Shared EntityManager does not insist on actualTransactionActive flag anymore
...
Issue: SPR-13838
2016-01-13 14:11:13 +01:00
Juergen Hoeller
09cea6e6bb
Refined Future exception handling
...
Issue: SPR-13732
2015-12-21 15:09:09 +01:00
Juergen Hoeller
db1171d5c4
Background bootstrapping via "bootstrapExecutor" for LocalContainerEntityManagerFactoryBean and LocalSessionFactoryBean/Builder
...
Issue: SPR-13732
2015-12-19 15:13:46 +01:00
Juergen Hoeller
fca5365cf1
Avoid scoped destruction callbacks in case of no post-processor actually applying
...
Issue: SPR-13744
2015-12-18 16:54:05 +01:00
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
2015-12-17 20:27:33 +01:00
Juergen Hoeller
e90942223f
Deprecate Hibernate 3 support
...
Issue: SPR-13230
2015-12-17 17:17:05 +01:00
Juergen Hoeller
9e03e0e73d
Polishing
2015-12-15 11:53:40 +01:00
Juergen Hoeller
98be36a306
Extended default collection size for common per-bean caches
...
Issue: SPR-13621
2015-11-13 08:31:00 +01:00
Johnny Lim
2defb6555e
Fix broken Javadoc related to < and >
2015-11-12 11:22:08 +01:00
Juergen Hoeller
15b88782f7
Polishing
2015-10-07 20:06:18 +02:00
Juergen Hoeller
a1107af06f
HibernateJpaDialect logs warning in case of Connection mismatch (e.g. configured release mode other than ON_CLOSE)
...
Related to that, HibernateTransactionManager specifically checks for active physical connections on reset as of Hibernate 5.
Issue: SPR-13269
Issue: SPR-13002
2015-08-27 16:41:41 +02:00
Sam Brannen
ed20b3771c
Clean up warnings on Hibernate support code
2015-07-21 23:39:07 +02:00
Juergen Hoeller
7e2a662f63
Enforce TransactionRequiredException for pre-bound EntityManager without actual transaction active
...
Issue: SPR-13243
2015-07-17 15:25:29 +02:00
Juergen Hoeller
2f8ac91872
Only attempt to call joinTransaction in case of actual transaction active
...
Issue: SPR-13242
2015-07-17 15:24:52 +02:00
Juergen Hoeller
11ec9998ae
Note on 'generateDdl' versus JPA 2.1 schema generation
...
Issue: SPR-13040
2015-07-07 16:44:33 +02:00
Juergen Hoeller
b4095c3e1d
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-05-20 14:34:16 +02:00
Juergen Hoeller
cf0a916793
Consistent non-public AsyncRequestInterceptor classes
...
Issue: SPR-11694
2015-05-09 18:05:31 +02:00
Juergen Hoeller
f9c3910341
Support for Hibernate ORM 5.0 Beta 2
...
Issue: SPR-11694
2015-05-09 17:55:18 +02:00
Juergen Hoeller
c8cc8b7cbd
Removed outdated references to Servlet 2.3/2.4
...
(cherry picked from commit 673dac5 )
2015-03-24 21:24:12 +01:00