Sam Brannen
90f46f9327
Suppress warnings in tests in spring-orm-hibernate4
9 years ago
Juergen Hoeller
7118fcff0d
MethodValidationInterceptor falls back to invocation attempt with resolved bridge method (for Hibernate Validator 5.2 compatibility)
...
Issue: SPR-12237
9 years ago
Sam Brannen
ed20b3771c
Clean up warnings on Hibernate support code
9 years ago
Juergen Hoeller
fca33f53e3
Ported test adaptations to JPA 2.1 variant
...
Issue: SPR-13243
9 years ago
Juergen Hoeller
8c337a48a9
SpringSessionSynchronization's beforeCompletion unbinds after disconnect failure as well
...
Issue: SPR-13089
10 years ago
Juergen Hoeller
cf0a916793
Consistent non-public AsyncRequestInterceptor classes
...
Issue: SPR-11694
10 years ago
Juergen Hoeller
f9c3910341
Support for Hibernate ORM 5.0 Beta 2
...
Issue: SPR-11694
10 years ago
Juergen Hoeller
c8cc8b7cbd
Removed outdated references to Servlet 2.3/2.4
...
(cherry picked from commit 673dac5
)
10 years ago
Juergen Hoeller
09fde31732
Support for Hibernate Validator 5.2
...
Issue: SPR-12758
10 years ago
Sam Brannen
40449e2741
Suppress warnings in tests
...
This commit suppresses warnings in test classes that were polluting the
Gradle build output.
10 years ago
Juergen Hoeller
d1288fdb7c
Upgrade to Hibernate 4.3.7 (and Netty 4.0.24)
10 years ago
Juergen Hoeller
7aff575485
Reintroduced original SpringSessionSynchronization constructor and made SpringSession/FlushSynchronization public (for GORM)
...
Issue: SPR-12400
10 years ago
Juergen Hoeller
e9f53c6ddf
Polishing
...
Issue: SPR-12396
10 years ago
Juergen Hoeller
a181b40e39
PersistenceAnnotationBeanPostProcessor correctly detects JPA 2.1 synchronization attribute
...
Issue: SPR-12396
10 years ago
Juergen Hoeller
1146d5ba1d
Polishing
10 years ago
Juergen Hoeller
49f3a6beff
HibernateTransactionManager supports result access after completion
...
Issue: SPR-12349
10 years ago
Juergen Hoeller
8325b10080
Consistent formatting of license headers, package javadocs, and import declarations
10 years ago
Juergen Hoeller
d6be433501
Polishing
10 years ago
Juergen Hoeller
e58b33a593
Consistent reset of resource holders on doBegin failure
...
Issue: SPR-12280
10 years ago
Juergen Hoeller
69998e3d50
Remove outdated references to ContextLoaderServlet
...
Issue: SPR-7725
(cherry picked from commit b45d08f
)
10 years ago
Juergen Hoeller
0934751d7a
BeanWrapper supports traversal of nested paths with Java 8 Optional declarations
...
Issue: SPR-12241
10 years ago
Juergen Hoeller
f9452ae9e9
LocalSessionFactoryBean supports JPA 2.1 auto-apply @Converter on Hibernate 4.3
...
Issue: SPR-12234
10 years ago
Juergen Hoeller
d6370965eb
Polishing
10 years ago
Juergen Hoeller
5cbb1fc498
SpringSessionContext for Hibernate 4 supports lazily bound Session for propagation SUPPORTS
...
Issue: SPR-9020
10 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
10 years ago
Juergen Hoeller
3227569a38
LocalSessionFactoryBean/Builder allows for specifying custom entity type filters
...
Issue: SPR-12049
10 years ago
Juergen Hoeller
cee53e9330
Unit tests for method validation before async dispatching
...
Issue: SPR-11775
11 years ago
Juergen Hoeller
0232739293
Javadoc coverage of package metadata detection (supported for Hibernate, not needed for EclipseLink and OpenJPA)
...
Issue: SPR-10910
11 years ago
Juergen Hoeller
591f79514d
Spring's default JPA persistence unit exposes package metadata as well (currently only supported with Hibernate)
...
Issue: SPR-10910
11 years ago
Juergen Hoeller
18131bf611
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
11 years ago
Juergen Hoeller
551950cdc0
Consistent use of ClassUtils.forName instead of class.getClassLoader().loadClass
...
Issue: SPR-11780
11 years ago
Sam Brannen
6b20439202
Avoid deprecation warnings in ValidatorFactoryTests
...
ValidatorFactoryTests now uses Bean Validation 1.1 APIs where
appropriate.
11 years ago
Juergen Hoeller
4612559446
Automated tests against Hibernate ORM 4.3 and Hibernate Validator 5
...
Issue: SPR-11704
11 years ago
Stephane Nicoll
4cd818b9e4
Harmonize log configuration
...
Prior to this commit, the codebase was using a mix of log4j.xml
and log4j.properties for test-related logging configuration. This
can be an issue as log4j takes the xml variant first when looking
for a default bootstrap configuration.
In practice, some modules declaring the properties variant were
taking the xml variant configuration from another module.
The general structure of the configuration has also been
harmonized to provide a standard console output as well as an
easy way to enable trace logs for the current module.
11 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
11 years ago
Juergen Hoeller
09e2e5897d
Removed outdated hibernate3 references across the codebase
...
Issue: SPR-9028
11 years ago
Juergen Hoeller
2410e29dda
Introduced OpenSessionInterceptor as a streamlined alternative to HibernateInterceptor
...
Issue: SPR-9028
11 years ago
Juergen Hoeller
786e217991
Minor polishing after previous polish step ;-)
11 years ago
Sam Brannen
63e023173b
Polish Hibernate support and tests
...
- Fix Javadoc in HibernateTemplate so that it compiles in Eclipse.
- Suppress generics warnings in HibernateTemplateTests.
- Remove unnecessary deprecation warning suppression in constructor for
LocalSessionFactoryBuilder.
11 years ago
Juergen Hoeller
500d0da67d
Polishing
11 years ago
Juergen Hoeller
bf9702294d
Polishing
...
Issue: SPR-11291
11 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
11 years ago
Sam Brannen
227320dc81
Suppress warnings in HibernateTransactionManagerTests
11 years ago
Juergen Hoeller
479d073f1b
Adapted orm.hibernate4 and HibernateJpaVendorAdapter to avoid deprecation warnings on Hibernate 4.3 final
...
Issue: SPR-11240
11 years ago
Juergen Hoeller
92816492ed
Established well-defined registration order for Hibernate package scanning
...
Issue: SPR-7742
11 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
11 years ago
Juergen Hoeller
70164cb145
Properly handle InvocationTargetException in reflective JtaPlatform implementation
11 years ago
Juergen Hoeller
00474ceecd
Introduced setCacheRegionFactory method on LocalSessionFactoryBuilder/Bean
...
Issue: SPR-11056
11 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
11 years ago
Juergen Hoeller
542b5b2029
First-class support for MultiTenantConnectionProvider and CurrentTenantIdentifierResolver
...
Uses Object-typed setter methods to bridge between package location changes in Hibernate 4.2 vs 4.3. As a side bonus, those setters accept Class and class names as well.
Issue: SPR-10823
11 years ago