Juergen Hoeller
afc77ff525
AnnotationBeanPostProcessors defensively catch and translate NoClassDefFoundErrors from class introspection
...
Issue: SPR-12461
11 years ago
Juergen Hoeller
bf5739c56b
HibernateJpaSessionFactoryBean is compatible with Hibernate 4.3 as well now
...
Issue: SPR-12401
11 years ago
Juergen Hoeller
e9f53c6ddf
Polishing
...
Issue: SPR-12396
11 years ago
Juergen Hoeller
a181b40e39
PersistenceAnnotationBeanPostProcessor correctly detects JPA 2.1 synchronization attribute
...
Issue: SPR-12396
11 years ago
Juergen Hoeller
1146d5ba1d
Polishing
11 years ago
Juergen Hoeller
33d85d2a13
EclipseLinkJpaDialect preserves lazy retrieval of UnitOfWork as far as possible
...
Issue: SPR-12319
11 years ago
Juergen Hoeller
1ad7a03357
Polishing
11 years ago
Juergen Hoeller
e4753c9f8b
EclipseLinkJpaDialect's getJdbcConnection uses a lazy ConnectionHandle (allowing for deferred internal transaction begin)
...
Issue: SPR-7753
11 years ago
Juergen Hoeller
8325b10080
Consistent formatting of license headers, package javadocs, and import declarations
11 years ago
Juergen Hoeller
bd5383e4f9
OpenJpaDialect passes custom isolation level on to OpenJPA's JDBCFetchPlan configuration
...
Issue: SPR-12319
11 years ago
Juergen Hoeller
de11cd8791
EclipseLinkJpaDialect passes custom isolation level on to EclipseLink's DatabaseLogin configuration
...
Issue: SPR-12319
11 years ago
Juergen Hoeller
d6be433501
Polishing
11 years ago
Juergen Hoeller
e58b33a593
Consistent reset of resource holders on doBegin failure
...
Issue: SPR-12280
11 years ago
Juergen Hoeller
69998e3d50
Remove outdated references to ContextLoaderServlet
...
Issue: SPR-7725
(cherry picked from commit b45d08f )
11 years ago
Juergen Hoeller
62340d6ccf
Only release rolled-back database savepoints during managed nested transaction
...
Issue: SPR-12228
11 years ago
Juergen Hoeller
f4219ca06b
Consistent exclusion of bridge methods in annotation post-processors (for Java 8 compatibility)
...
Issue: SPR-12187
11 years ago
Juergen Hoeller
5452144dab
HibernateJpaDialect only resets Connection read-only status if actually necessary (avoiding side effects)
...
Issue: SPR-8959
Issue: SPR-12118
11 years ago
Stephane Nicoll
f5cf3cd56e
polishing
12 years ago
Juergen Hoeller
592e344191
PersistenceAnnotationBeanPostProcessor defensively handles BeanDefinition access for extended EntityManagers
...
Issue: SPR-8834
12 years ago
Juergen Hoeller
562916b69c
Consistent getJpaDialect() narrowing (along with HibernateJpaVendorAdapter)
...
Issue: SPR-8959
Issue: SPR-11942
12 years ago
Juergen Hoeller
cbda722329
HibernateJpaDialect prepares JDBC Connection by default if on Hibernate EntityManager 4 (with its connection release mode ON_CLOSE)
...
Analogous to HibernateTransactionManager, there is a "prepareConnection" flag on HibernateJpaDialect which allows for overriding the actual mode of operation. This is easily accessible from HibernateJpaVendorAdapter now which declares HibernateJpaDialect from its getJpaDialect() method.
Issue: SPR-8959
Issue: SPR-11942
12 years ago
Juergen Hoeller
af13310da0
Refined DefaultJpaDialect's InvalidIsolationLevelException message
...
Issue: SPR-8325
12 years ago
Juergen Hoeller
0232739293
Javadoc coverage of package metadata detection (supported for Hibernate, not needed for EclipseLink and OpenJPA)
...
Issue: SPR-10910
12 years ago
Juergen Hoeller
045d7357d5
SharedEntityManagerCreator immediately throws TransactionRequiredException on persist, merge, remove etc (as required by JPA spec)
...
Issue: SPR-11923
12 years ago
Juergen Hoeller
591f79514d
Spring's default JPA persistence unit exposes package metadata as well (currently only supported with Hibernate)
...
Issue: SPR-10910
12 years ago
Juergen Hoeller
18131bf611
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
12 years ago
Juergen Hoeller
551950cdc0
Consistent use of ClassUtils.forName instead of class.getClassLoader().loadClass
...
Issue: SPR-11780
12 years ago
Stephane Nicoll
43e4dbadfe
Revert merge commit e246010df7
12 years ago
Stephane Nicoll
e18308851d
polishing
...
Updating pull request for SPR-9541
12 years ago
Jan Stamer
371e3a7ac0
Add exception translator for EclipseLink exceptions
...
Issue: SPR-9541
12 years ago
Juergen Hoeller
a8577da30c
DeferredQueryInvocationHandler explicitly closes its EntityManager on garbage collection
...
Includes javadoc revision covering all supported EntityManager types as of JPA 2.1.
Issue: SPR-11451
12 years ago
Juergen Hoeller
99f9dce14a
Fixed all List return types to ? instead of Object, restoring backwards compatibility with existing Spring 3.2.x based code and allowing easier casts to other element types
...
Also declaring findByExample generically based on the given example object's type.
Issue: SPR-11402
12 years ago
Juergen Hoeller
2410e29dda
Introduced OpenSessionInterceptor as a streamlined alternative to HibernateInterceptor
...
Issue: SPR-9028
12 years ago
Juergen Hoeller
500d0da67d
Polishing
12 years ago
Juergen Hoeller
bf9702294d
Polishing
...
Issue: SPR-11291
12 years ago
Juergen Hoeller
79e17dbfa0
Introduced HibernateTemplate for Hibernate 4 as a migration helper
...
Note that this variant of HibernateTemplate is stripped down in terms of Session management options and just provides a current-session style with a fallback to a temporary session-per-operation. Furthermore, in the latter fallback mode, only read operations are supported, just like with a JPA EntityManager.
Issue: SPR-11291
12 years ago
Juergen Hoeller
56b7d7a94a
Consistently declare @SuppressWarnings("serial") instead of dummy serialVersionUID
12 years ago
Juergen Hoeller
42db41e007
Polishing
12 years ago
Juergen Hoeller
4ae893e110
DefaultPersistenceUnitManager detects META-INF/orm.xml for scanned default unit
...
Note: A default orm.xml file is only being used when not co-located with a persistence.xml file, since we assume it is intended for use with that persistence.xml file only then.
Issue: SPR-11234
Issue: SPR-11260
12 years ago
Juergen Hoeller
88730bdaa5
Added info-level logging for default unit detection
...
Issue: SPR-11333
12 years ago
Juergen Hoeller
547646de6d
Polishing
12 years ago
Juergen Hoeller
b1460742c3
InjectionMetadata caching per bean name needs to refresh when bean class changes
...
Issue: SPR-11246
12 years ago
Juergen Hoeller
479d073f1b
Adapted orm.hibernate4 and HibernateJpaVendorAdapter to avoid deprecation warnings on Hibernate 4.3 final
...
Issue: SPR-11240
12 years ago
Juergen Hoeller
92816492ed
Established well-defined registration order for Hibernate package scanning
...
Issue: SPR-7742
12 years ago
Phillip Webb
59002f2456
Fix remaining compiler warnings
...
Fix remaining Java compiler warnings, mainly around missing
generics or deprecated code.
Also add the `-Werror` compiler option to ensure that any future
warnings will fail the build.
Issue: SPR-11064
12 years ago
Rossen Stoyanchev
5d8fac86d7
Add timeout async request handling to OSIV components
...
This change adds async web request timeout handling to OSIV filters
and interceptors to ensure the session or entity manager is released.
Issue: SPR-10874
12 years ago
Juergen Hoeller
4675bc4e0c
Cache InjectionMetadata per bean name instead of per Class, if possible
...
Issue: SPR-11027
12 years ago
Juergen Hoeller
393cfcff40
Cache InjectionMetadata per bean name instead of per Class
...
Issue: SPR-11027
12 years ago
Juergen Hoeller
da0128f120
Javadoc cleanup for Hibernate 3.6+
13 years ago
Juergen Hoeller
a65bc3851b
Introduced local support for Hibernate 3.6 and 4.x exception translation to HibernateJpaDialect
...
Since Hibernate 3.6 and 4.x differ in exception handling now, this change makes HibernateJpaDialect independent from orm.hibernate3 now and avoids introducing a conditional dependency on orm.hibernate4.
Issue: SPR-10815
13 years ago