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
2011-03-31 12:06:58 +00:00
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
2010-09-29 13:22:24 +00:00
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
2010-09-08 22:48:03 +00:00
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
2010-09-08 22:45:58 +00:00
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
2010-09-01 17:17:25 +00:00
Juergen Hoeller
bcd552abfe
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3592 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:01:10 +00:00
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
2010-07-27 00:04:23 +00:00
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
2010-07-08 11:47:30 +00:00
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
2010-06-08 10:21:05 +00:00
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
2010-05-12 08:46:55 +00:00
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
2010-04-06 15:38:40 +00:00
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
2010-04-01 10:35:49 +00:00
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
2010-03-24 09:36:01 +00:00
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
2010-03-12 23:10:06 +00:00
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
2010-03-04 11:13:28 +00:00
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
2010-02-23 16:13:04 +00:00
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
2010-02-11 11:36:33 +00:00
Juergen Hoeller
127553f9a7
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2945 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 21:29:13 +00:00
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
2010-02-06 16:15:12 +00:00
Juergen Hoeller
6ad560d205
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2891 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:51:54 +00:00
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
2010-02-01 14:48:18 +00:00
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
2010-01-21 12:04:26 +00:00
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
2010-01-20 15:39:17 +00:00
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
2010-01-18 19:17:52 +00:00
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
2010-01-12 12:39:56 +00:00
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
2009-12-10 21:42:48 +00:00
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
2009-12-04 17:19:47 +00:00
Juergen Hoeller
2f2444ff13
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2519 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:34:56 +00:00
Juergen Hoeller
0d7a757eb7
restored Hibernate 3.2 compatibility (SPR-6387)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2513 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-26 11:08:22 +00:00
Juergen Hoeller
e5bccc43d3
added support for Hibernate 3.3 RegionFactory cache SPI to LocalSessionFactoryBean (SPR-6387)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2454 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 15:39:11 +00:00
Juergen Hoeller
b97168b9cc
added SQL String and related context to translated JDBCException messages (SPR-6304)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2401 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 15:25:32 +00:00
Juergen Hoeller
006f300410
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2373 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:27:31 +00:00
Thomas Risberg
5b5609655a
removed filter for classes from the JPA providers package for EclipseLink (SPR-6040)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2293 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 19:46:46 +00:00
David Syer
68bb64959b
SPR-6160: resolved by referring to 'future release' instead of 2.5
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2191 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 11:59:59 +00:00
Juergen Hoeller
3640e2235f
full compliance with the JSR-330 TCK
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2161 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 18:18:25 +00:00
Juergen Hoeller
599910699a
fixed overview files
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Juergen Hoeller
b60265e568
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1856 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 22:35:55 +00:00
Juergen Hoeller
b6587e45c7
Jpa/JdoTransactionManager passes resolved timeout into Jpa/JdoDialect's beginTransaction; HibernateJpaDialect applies timeout onto native Hibernate Transaction before begin call (SPR-5195)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1855 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 22:35:32 +00:00
Juergen Hoeller
b408ef6f68
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1831 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:07:17 +00:00
Juergen Hoeller
dc83f27ba8
updated JPA 2.0 compatibility to EclipseLink 2.0.0.M7
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1772 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 00:51:47 +00:00
Juergen Hoeller
ee74e0a6ab
compatibility with Hibernate 3.5 beta 1
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1767 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-26 15:20:53 +00:00
Chris Beams
49b6bbc8fa
RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
...
* Applied patch submitted by Carlos Zuniga
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 04:14:22 +00:00
Juergen Hoeller
93897f0f0e
Hibernate AnnotationSessionFactoryBean detects Hibernate's special @Entity annotation too (SPR-5787)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1276 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-28 11:25:39 +00:00
Juergen Hoeller
407060ac59
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1225 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-20 00:31:00 +00:00
Sam Brannen
41b5e5d8b4
Fixed typo in JavaDoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1087 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-04 06:02:59 +00:00
Juergen Hoeller
8af560b4f4
added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@655 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-19 00:24:05 +00:00
Juergen Hoeller
a0d20fb424
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@608 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:28:04 +00:00
Juergen Hoeller
d4888bfebe
Java 5 code style
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:04:13 +00:00
Juergen Hoeller
ec1653aead
generified operations interfaces; update to JDO 2.1; preparation for JPA 2.0
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@584 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-25 23:20:41 +00:00
Juergen Hoeller
e64795bcf9
properly scan subpackages as well (SPR-5324)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@348 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-28 14:05:15 +00:00