提交 ee1c68ea 编写于 作者: J Juergen Hoeller

polishing

上级 45dc8569
......@@ -539,7 +539,7 @@ public class HibernateTransactionManager extends AbstractPlatformTransactionMana
}
}
Transaction hibTx = null;
Transaction hibTx;
// Register transaction timeout.
int timeout = determineTimeout(definition);
......
......@@ -44,7 +44,7 @@ import org.springframework.util.ClassUtils;
* Subclass of Spring's standard LocalSessionFactoryBean for Hibernate,
* supporting JDK 1.5+ annotation metadata for mappings.
*
* <p>Note: This class requires Hibernate 3.2 or higher, with the
* <p>Note: This class requires Hibernate 3.2 or later, with the
* Java Persistence API and the Hibernate Annotations add-on present.
*
* <p>Example for an AnnotationSessionFactoryBean bean definition:
......@@ -240,8 +240,7 @@ public class AnnotationSessionFactoryBean extends LocalSessionFactoryBean implem
* @param config the current AnnotationConfiguration object
* @throws HibernateException in case of Hibernate initialization errors
*/
protected void postProcessAnnotationConfiguration(AnnotationConfiguration config)
throws HibernateException {
protected void postProcessAnnotationConfiguration(AnnotationConfiguration config) throws HibernateException {
}
}
/*
* Copyright 2002-2008 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -16,9 +16,8 @@
package org.springframework.orm.jpa.vendor;
import java.util.Map;
import java.util.Properties;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.spi.PersistenceProvider;
......@@ -42,7 +41,7 @@ import org.springframework.orm.jpa.JpaDialect;
/**
* {@link org.springframework.orm.jpa.JpaVendorAdapter} implementation for
* Hibernate EntityManager. Developed and tested against Hibernate 3.2 and 3.3.
* Hibernate EntityManager. Developed and tested against Hibernate 3.3.
*
* <p>Exposes Hibernate's persistence provider and EntityManager extension interface,
* and supports {@link AbstractJpaVendorAdapter}'s common configuration settings.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册