Commit Graph

57 Commits

Author SHA1 Message Date
Chris Beams
6809b234b1 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
2011-03-31 12:06:58 +00:00
Juergen Hoeller
4c154d3cab AnnotationSessionFactoryBean's "postProcessConfiguration" is non-final now (because of Hibernate 3.6; SPR-7581) 2010-09-29 13:22:24 +00:00
Juergen Hoeller
f848e5081d updated version statement in javadoc 2010-09-08 22:48:03 +00:00
Juergen Hoeller
91a53a36ec LocalSessionFactoryBean's "entityCacheStrategies" works with region names on Hibernate 3.6 as well 2010-09-08 22:45:58 +00:00
Juergen Hoeller
e56cfb8173 consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441) 2010-09-01 17:17:25 +00:00
Juergen Hoeller
0aec5efb56 polishing 2010-08-15 23:01:10 +00:00
Juergen Hoeller
72da237474 FilterDefinitionFactoryBean supports Hibernate 3.6.0.beta1 as well 2010-07-27 00:04:23 +00:00
Juergen Hoeller
96b9cf6ca9 DefaultJdoDialect supports JDO 3.0 query timeout facility (as supported by DataNucleus 2.1) 2010-07-08 11:47:30 +00:00
Juergen Hoeller
928f5423af avoid EntityManager close() exception through isOpen() check (SPR-7215) 2010-06-08 10:21:05 +00:00
Juergen Hoeller
11bb7264a2 properly return null from getPersistenceUnitInfo again (SPR-7055) 2010-05-12 08:46:55 +00:00
Juergen Hoeller
4ee6735376 DefaultPersistenceUnitManager's getPersistenceUnitInfo method has 2.5 compatible signature again (SPR-7055) 2010-04-06 15:38:40 +00:00
Juergen Hoeller
29ab58c4d8 ResourcePatternUtils provides plain PathMatchingResourcePatternResolver in case of a null ResourceLoader 2010-04-01 10:35:49 +00:00
Juergen Hoeller
b370969690 added public "validateDatabaseSchema" method to Hibernate LocalSessionFactoryBean (SPR-3212) 2010-03-24 09:36:01 +00:00
Juergen Hoeller
7da13e7ad1 compatibility with OpenJPA 2.0 (support for persistence.xml versioning; SPR-6975) 2010-03-12 23:10:06 +00:00
Juergen Hoeller
0aee6e9f5b use target factory's ClassLoader in case of a raw EntityManagerFactory (SPR-6733) 2010-03-04 11:13:28 +00:00
Juergen Hoeller
ef227c5d01 HibernateJpaDialect borrows JDBC Connection on demand (supporting aggressive release; SPR-6895) 2010-02-23 16:13:04 +00:00
Juergen Hoeller
cef44f6d53 made PersistenceAnnotationBeanPostProcessor's JNDI API references optional - for compatibility with Google App Engine (SPR-6679) 2010-02-11 11:36:33 +00:00
Juergen Hoeller
ef024db318 polishing 2010-02-10 21:29:13 +00:00
Juergen Hoeller
b25dc7cc55 compatibility with Hibernate 3.5 beta 4 (SPR-6804, SPR-6805) 2010-02-06 16:15:12 +00:00
Juergen Hoeller
5f5e7c3262 polishing 2010-02-01 14:51:54 +00:00
Juergen Hoeller
db71811c5a SharedEntityManagerCreator's EntityManager proxies are fully serializable now (SPR-6684) 2010-02-01 14:48:18 +00:00
Juergen Hoeller
bcfef8a4e1 support for JPA 2.0 TypedQuery interface and query vendor interfaces (SPR-6733) 2010-01-21 12:04:26 +00:00
Juergen Hoeller
1b6f3f1f22 Query call chaining works with shared EntityManager proxy outside of transaction as well (SPR-6726) 2010-01-20 15:39:17 +00:00
Juergen Hoeller
7a792f6c23 fixed support for JPA 2.0 persistence schema (SPR-6711) 2010-01-18 19:17:52 +00:00
Juergen Hoeller
0ba8375546 full support for JPA 2.0 PersistenceUnitInfo SPI (for compatibility with Hibernate 3.5 beta 3; SPR-6408) 2010-01-12 12:39:56 +00:00
Juergen Hoeller
e1d5c7310a updated JPA 2.0 support to the final spec (supporting the "getCriteriaBuilder" method) 2009-12-10 21:42:48 +00:00
Juergen Hoeller
0d413c7e36 reverted schema update implementation for Hibernate 3.2 compatibility (SPR-6509) 2009-12-04 17:19:47 +00:00
Juergen Hoeller
cc0bd730eb polishing 2009-11-27 01:34:56 +00:00
Juergen Hoeller
1cf0c12674 restored Hibernate 3.2 compatibility (SPR-6387) 2009-11-26 11:08:22 +00:00
Juergen Hoeller
eb0b4f0cbd added support for Hibernate 3.3 RegionFactory cache SPI to LocalSessionFactoryBean (SPR-6387) 2009-11-19 15:39:11 +00:00
Juergen Hoeller
86934e2403 added SQL String and related context to translated JDBCException messages (SPR-6304) 2009-11-12 15:25:32 +00:00
Juergen Hoeller
155f6b1aa1 polishing 2009-11-12 02:27:31 +00:00
Thomas Risberg
076b912f05 removed filter for classes from the JPA providers package for EclipseLink (SPR-6040) 2009-11-07 19:46:46 +00:00
David Syer
2978a4d0eb SPR-6160: resolved by referring to 'future release' instead of 2.5 2009-10-27 11:59:59 +00:00
Juergen Hoeller
94533976d0 full compliance with the JSR-330 TCK 2009-10-20 18:18:25 +00:00
Juergen Hoeller
09e6a85edd fixed overview files 2009-09-25 08:47:18 +00:00
Juergen Hoeller
ee1c68ead4 polishing 2009-09-08 22:35:55 +00:00
Juergen Hoeller
45dc856993 Jpa/JdoTransactionManager passes resolved timeout into Jpa/JdoDialect's beginTransaction; HibernateJpaDialect applies timeout onto native Hibernate Transaction before begin call (SPR-5195) 2009-09-08 22:35:32 +00:00
Juergen Hoeller
57f90ad4ef polishing 2009-09-07 18:07:17 +00:00
Juergen Hoeller
83289cb8b0 updated JPA 2.0 compatibility to EclipseLink 2.0.0.M7 2009-08-27 00:51:47 +00:00
Juergen Hoeller
ce3c72f8c2 compatibility with Hibernate 3.5 beta 1 2009-08-26 15:20:53 +00:00
Chris Beams
a9696c7282 RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
* Applied patch submitted by Carlos Zuniga
2009-06-01 04:14:22 +00:00
Juergen Hoeller
a5c324f934 Hibernate AnnotationSessionFactoryBean detects Hibernate's special @Entity annotation too (SPR-5787) 2009-05-28 11:25:39 +00:00
Juergen Hoeller
e70d2ce14c polishing 2009-05-20 00:31:00 +00:00
Sam Brannen
a6a8b29d19 Fixed typo in JavaDoc 2009-05-04 06:02:59 +00:00
Juergen Hoeller
4cc42bf16f added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code 2009-02-19 00:24:05 +00:00
Juergen Hoeller
fc6d7358ef polishing 2009-02-09 18:28:04 +00:00
Juergen Hoeller
92588cddc6 Java 5 code style 2009-02-05 21:04:13 +00:00
Juergen Hoeller
e7465dcb99 generified operations interfaces; update to JDO 2.1; preparation for JPA 2.0 2009-01-25 23:20:41 +00:00
Juergen Hoeller
71df72d634 properly scan subpackages as well (SPR-5324) 2008-11-28 14:05:15 +00:00