Juergen Hoeller
15b88782f7
Polishing
9 years ago
Sam Brannen
3dcf8c1712
Simplify legacy JUnit 3.8 based tests in spring-orm
...
This is in preparation for a migration from JUnit 3 to JUnit 4.
Issue: SPR-13514, SPR-13515
9 years ago
Sam Brannen
d5ee787e1e
Migrate JUnit 3 tests to JUnit 4
...
This commit migrates all remaining tests from JUnit 3 to JUnit 4, with
the exception of Spring's legacy JUnit 3.8 based testing framework that
is still in use in the spring-orm module.
Issue: SPR-13514
9 years ago
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
9 years ago
Sam Brannen
ed20b3771c
Clean up warnings on Hibernate support code
9 years ago
Juergen Hoeller
7e2a662f63
Enforce TransactionRequiredException for pre-bound EntityManager without actual transaction active
...
Issue: SPR-13243
9 years ago
Juergen Hoeller
2f8ac91872
Only attempt to call joinTransaction in case of actual transaction active
...
Issue: SPR-13242
9 years ago
Juergen Hoeller
11ec9998ae
Note on 'generateDdl' versus JPA 2.1 schema generation
...
Issue: SPR-13040
9 years ago
Sam Brannen
6c530b7bfb
Delete trailing whitespace in XML files
10 years ago
Juergen Hoeller
b4095c3e1d
Class identity comparisons wherever possible
...
Issue: SPR-12926
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
Sam Brannen
e581244370
Delete legacy JdbcTestUtils in spring-orm
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
5b09723bb4
Polishing
10 years ago
Juergen Hoeller
192462902e
Consistent support for Java 8 default methods (in interfaces implemented by user classes)
...
Covers ReflectionUtils.doWithMethods as well as affected annotation post-processors.
Includes an extension of MethodMetadata for the detection of @Bean default methods.
Issue: SPR-12822
Issue: SPR-10919
10 years ago
Sam Brannen
ce68c4dccb
Polish Javadoc in MutablePersistenceUnitInfo
...
- Using Javadoc syntax for code formatting instead of JIRA's.
10 years ago
Juergen Hoeller
4f1d9fddc8
Explicit documentation on MutablePersistenceUnitInfo's addManagedPackage
...
Issue: SPR-12821
10 years ago
Juergen Hoeller
8a5e47a043
Explicit note on change of read-only handling in 4.1
...
Issue: SPR-8959
(cherry picked from commit 0280a2a
)
10 years ago
Stephane Nicoll
babbf6e871
Harmonize resources location
...
Issue: SPR-12766
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
809ee0d350
Annotation post-processors clear old InjectionMetadata registrations on refresh
...
Issue: SPR-12526
10 years ago
Sebastien Deleuze
4308a0404c
Refine EclipseLink SQL logging
...
Issue: SPR-12528
10 years ago
Sam Brannen
33fca4e7ae
Fix and polish Javadoc for JpaTransactionManager
10 years ago
Juergen Hoeller
03d4e1bc22
Consistent bridge method handling in annotation post-processors
...
Issue: SPR-12490
Issue: SPR-12495
10 years ago
Juergen Hoeller
afc77ff525
AnnotationBeanPostProcessors defensively catch and translate NoClassDefFoundErrors from class introspection
...
Issue: SPR-12461
10 years ago
Juergen Hoeller
bf5739c56b
HibernateJpaSessionFactoryBean is compatible with Hibernate 4.3 as well now
...
Issue: SPR-12401
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
33d85d2a13
EclipseLinkJpaDialect preserves lazy retrieval of UnitOfWork as far as possible
...
Issue: SPR-12319
10 years ago
Juergen Hoeller
1ad7a03357
Polishing
10 years ago
Juergen Hoeller
e4753c9f8b
EclipseLinkJpaDialect's getJdbcConnection uses a lazy ConnectionHandle (allowing for deferred internal transaction begin)
...
Issue: SPR-7753
10 years ago
Juergen Hoeller
8325b10080
Consistent formatting of license headers, package javadocs, and import declarations
10 years ago
Juergen Hoeller
bd5383e4f9
OpenJpaDialect passes custom isolation level on to OpenJPA's JDBCFetchPlan configuration
...
Issue: SPR-12319
10 years ago
Juergen Hoeller
de11cd8791
EclipseLinkJpaDialect passes custom isolation level on to EclipseLink's DatabaseLogin configuration
...
Issue: SPR-12319
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
62340d6ccf
Only release rolled-back database savepoints during managed nested transaction
...
Issue: SPR-12228
10 years ago
Juergen Hoeller
f4219ca06b
Consistent exclusion of bridge methods in annotation post-processors (for Java 8 compatibility)
...
Issue: SPR-12187
10 years ago
Juergen Hoeller
5452144dab
HibernateJpaDialect only resets Connection read-only status if actually necessary (avoiding side effects)
...
Issue: SPR-8959
Issue: SPR-12118
10 years ago
Stephane Nicoll
f5cf3cd56e
polishing
10 years ago
Juergen Hoeller
592e344191
PersistenceAnnotationBeanPostProcessor defensively handles BeanDefinition access for extended EntityManagers
...
Issue: SPR-8834
10 years ago
Juergen Hoeller
6b6ca4889b
HibernateTransactionManagerTests for Hibernate 3 covers currentSession() as well
...
Issue: SPR-9020
10 years ago
Juergen Hoeller
562916b69c
Consistent getJpaDialect() narrowing (along with HibernateJpaVendorAdapter)
...
Issue: SPR-8959
Issue: SPR-11942
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
af13310da0
Refined DefaultJpaDialect's InvalidIsolationLevelException message
...
Issue: SPR-8325
11 years ago
Sam Brannen
32b87079cb
Re-enable Hibernate EntityManagerFactory tests
...
HibernateEntityManagerFactoryIntegrationTests in the spring-orm module
has been disabled for quite some time due to a dependency on the
AnnotationBeanConfigurerAspect from the spring-aspects module. Since
spring-aspects depends on spring-orm, a cyclical dependency would
result if this code were re-enabled "as is".
This commit removes the dependency on AnnotationBeanConfigurerAspect in
HibernateEntityManagerFactoryIntegrationTests by deleting all test code
and configuration related to @Configurable . In addition, this commit
also deletes all SessionFactory-specific test code in
HibernateEntityManagerFactoryIntegrationTests, allowing the test class
to focus on Hibernate as a JPA provider.
Issue: SPR-11922
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