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
Juergen Hoeller
045d7357d5
SharedEntityManagerCreator immediately throws TransactionRequiredException on persist, merge, remove etc (as required by JPA spec)
...
Issue: SPR-11923
11 years ago
Sam Brannen
50b21d061f
Add TODO for fate of Hibernate JPA integration tests
...
Issue: SPR-11922
11 years ago
Sam Brannen
158cb346a5
Re-enable OpenJPA + AspectJ tests
...
With the upgrade to JDK 8, the OpenJPA/AspectJ integration tests now
pass again. Thus, we are re-enabling these tests.
Issue: SPR-10333
11 years ago
Sam Brannen
e73b8b31f8
Delete accidental call to System.err
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
Sam Brannen
502022acca
Delete test annotations in spring-orm
...
This commit deletes all test annotations from the spring-orm module in
order to reduce unnecessary confusion between these "copies" and the
real, current versions of such classes in the spring-test module.
Furthermore, the legacy abstract JUnit 3.8 base classes and test cases
have been refactored accordingly.
11 years ago
Juergen Hoeller
18131bf611
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
11 years ago
Sam Brannen
f1517f03ff
Delete remaining SimpleJdbcTemplate usage
...
This commit deletes all remaining usage of the deprecated
SimpleJdbcTemplate class within the framework itself.
Issue: SPR-11895
11 years ago
Juergen Hoeller
551950cdc0
Consistent use of ClassUtils.forName instead of class.getClassLoader().loadClass
...
Issue: SPR-11780
11 years ago
Stephane Nicoll
43e4dbadfe
Revert merge commit e246010df7
11 years ago
Stephane Nicoll
e18308851d
polishing
...
Updating pull request for SPR-9541
11 years ago
Jan Stamer
371e3a7ac0
Add exception translator for EclipseLink exceptions
...
Issue: SPR-9541
11 years ago
Stephane Nicoll
5559209233
Remove useless imports
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
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
11 years ago
Sam Brannen
c335e99e3f
Remove trailing whitespace from source code
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