Chris Beams
48089d0925
Propagate wrapped exception in SessionFactoryUtils
...
Improve stack traces in certain Hibernate failure cases by properly
chaining the cause exception.
Issue: SPR-7933
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4146 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
54a5a39de9
Introduce HibernateExceptionTranslator
...
Designed to allow persistence exception translation of
HibernateException types without being forced to use
LocalSessionFactoryBean types.
Committed now in support of the forthcoming introduction of
*SessionFactoryBuilder types.
Issue: SPR-8076
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4145 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Sam Brannen
fe5a764138
[SPR-8092] cleaning up ignored and broken ORM tests; suppressing warnings; fixed Eclipse classpath for tests.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4122 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Sam Brannen
da384be170
Polishing and fixed broken support for @IfProfileValue in AbstractJpaTests (even though it's deprecated).
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4118 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
adc9400905
Include license.txt and notice.txt in module JARs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3967 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Sam Brannen
924b8e11ea
[SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3838 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
45e5b46fc2
Merge 3.1.0 development branch into trunk
...
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:
git merge -s recursive -Xtheirs --no-commit env
No merge conflicts, but did need to
git rm spring-build
prior to committing.
With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch. 3.1.0 snapshots will be available
per the usual nightly CI build from trunk.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3782 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Juergen Hoeller
ae5ffd68f4
AnnotationSessionFactoryBean's "postProcessConfiguration" is non-final now (because of Hibernate 3.6; SPR-7581)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3694 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
e069c8fed6
updated version statement in javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3665 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
f85bad07d6
LocalSessionFactoryBean's "entityCacheStrategies" works with region names on Hibernate 3.6 as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3664 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
da758771fa
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3627 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Ben Hale
82e5f5f5d6
Publishing license and notice files
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3612 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Arjen Poutsma
750dc01862
Prepping for 3.0.5
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3611 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
bcd552abfe
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3592 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
b5656489d0
FilterDefinitionFactoryBean supports Hibernate 3.6.0.beta1 as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3509 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
cac618f38e
DefaultJdoDialect supports JDO 3.0 query timeout facility (as supported by DataNucleus 2.1)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3477 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Arjen Poutsma
7f54fe732f
Upgrading version to 3.0.4
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
644817b47a
avoid EntityManager close() exception through isOpen() check (SPR-7215)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3402 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
8fad7f1520
avoid EntityManager close() exception through isOpen() check (SPR-7215)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3401 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
af3512e929
properly return null from getPersistenceUnitInfo again (SPR-7055)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3320 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
e8cfe6e573
changed "javax.persistence.criteria" import to an explicit Import-Package declaration (SPR-6636)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3250 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
faa0f29f0f
Update version in POMs to 3.0.3
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Costin Leau
9a188fd461
SPR-7071
...
+ fix some Eclipse classpath entries
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3234 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
974fe3035d
DefaultPersistenceUnitManager's getPersistenceUnitInfo method has 2.5 compatible signature again (SPR-7055)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3231 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
6a9a595cd9
compatibility with Hibernate 3.5 final
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3217 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
06342b82d6
ResourcePatternUtils provides plain PathMatchingResourcePatternResolver in case of a null ResourceLoader
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3213 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
f6e4621b17
added public "validateDatabaseSchema" method to Hibernate LocalSessionFactoryBean (SPR-3212)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3152 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
2c71b5b5ff
compatibility with OpenJPA 2.0 (support for persistence.xml versioning; SPR-6975)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3104 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
aea5a7183a
use target factory's ClassLoader in case of a raw EntityManagerFactory (SPR-6733)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3048 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
61188f183b
HibernateJpaDialect borrows JDBC Connection on demand (supporting aggressive release; SPR-6895)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3032 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
25ef81476d
Update Central POMs to 3.0.2
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Costin Leau
4be6044db9
+ make use or property placeholders inside template.mf
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
09d3d8b8fe
made PersistenceAnnotationBeanPostProcessor's JNDI API references optional - for compatibility with Google App Engine (SPR-6679)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2953 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
127553f9a7
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2945 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
23ede98efe
compatibility with Hibernate 3.5 beta 4 (SPR-6804, SPR-6805)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2930 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Costin Leau
5e677feda0
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Costin Leau
0ade90451c
+ add explicit dependency on commons-pool to prevent version 1.3 from being used (since it contains a memory leak)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2914 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
6ad560d205
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2891 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
37a23acbe2
SharedEntityManagerCreator's EntityManager proxies are fully serializable now (SPR-6684)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2890 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
5f4a938bff
support for JPA 2.0 TypedQuery interface and query vendor interfaces (SPR-6733)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2847 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
022e2b68d0
Query call chaining works with shared EntityManager proxy outside of transaction as well (SPR-6726)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2844 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
a9478f0d5d
fixed support for JPA 2.0 persistence schema (SPR-6711)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2834 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
9680fd9e6e
fixed support for JPA 2.0 persistence schema (SPR-6711)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2833 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
e6d2f9428c
SPR-6678: fix poms for 3.0.1
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
c4e654e64b
full support for JPA 2.0 PersistenceUnitInfo SPI (for compatibility with Hibernate 3.5 beta 3; SPR-6408)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2801 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
c7911436ab
updated manifest for new JPA 2.0 criteria package (SPR-6636)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2748 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
a3d2fbd465
updated JPA 2.0 support to the final spec (supporting the "getCriteriaBuilder" method)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2622 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
2bad74c238
SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
7340ddc549
reverted schema update implementation for Hibernate 3.2 compatibility (SPR-6509)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2577 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
4a7cb34bf0
SPR-5327: tidy up Maven dependencies (keeping commons-logging)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2549 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago