File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
org.springframework.orm/src/main/java/org/springframework/orm/hibernate4 Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
-
2
1
/**
3
2
*
4
3
* Package providing integration of
7
6
*
8
7
* <p>Contains an implementation of Spring's transaction SPI for local Hibernate transactions.
9
8
* This package is intentionally rather minimal, with no template classes or the like,
10
- * in order to follow native Hibernate recommendations as closely as possible.
9
+ * in order to follow Hibernate recommendations as closely as possible. We recommend
10
+ * using Hibernate's native <code>sessionFactory.getCurrentSession()</code> style.
11
11
*
12
12
* <p><b>This package supports Hibernate 4.x only.</b>
13
- * See the <code>org.springframework.orm.hibernate3</code> package for Hibernate 3.x support.
13
+ * See the {@code org.springframework.orm.hibernate3} package for Hibernate 3.x support.
14
+ * <b>Note:</b> Do not use HibernateTemplate or other classes from the hibernate3 package
15
+ * with Hibernate 4; this will lead to class definition exceptions at runtime.
14
16
*
15
17
*/
16
18
package org .springframework .orm .hibernate4 ;
You can’t perform that action at this time.
0 commit comments