Author: stliu
Date: 2009-12-24 06:49:14 -0500 (Thu, 24 Dec 2009)
New Revision: 18326
Modified:
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/Transaction.java
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java
Log:
minor change, correct javadoc spell
Modified:
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/Transaction.java
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/Transaction.java 2009-12-24
07:58:35 UTC (rev 18325)
+++
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/Transaction.java 2009-12-24
11:49:14 UTC (rev 18326)
@@ -105,7 +105,7 @@
* Again, this only returns information in relation to the
* local transaction, not the actual underlying transaction.
*
- * @return boolean Treu if this local transaction is still active.
+ * @return boolean True if this local transaction is still active.
*/
public boolean isActive() throws HibernateException;
Modified:
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java 2009-12-24
07:58:35 UTC (rev 18325)
+++
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/impl/SessionFactoryImpl.java 2009-12-24
11:49:14 UTC (rev 18326)
@@ -36,32 +36,28 @@
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
+import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
-import java.util.LinkedHashSet;
+
import javax.naming.NamingException;
import javax.naming.Reference;
import javax.naming.StringRefAddr;
import javax.transaction.TransactionManager;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
import org.hibernate.AssertionFailure;
import org.hibernate.ConnectionReleaseMode;
import org.hibernate.EntityMode;
+import org.hibernate.EntityNameResolver;
import org.hibernate.HibernateException;
import org.hibernate.Interceptor;
import org.hibernate.MappingException;
import org.hibernate.ObjectNotFoundException;
import org.hibernate.QueryException;
import org.hibernate.SessionFactory;
-import org.hibernate.StatelessSession;
import org.hibernate.SessionFactoryObserver;
-import org.hibernate.EntityNameResolver;
-import org.hibernate.EntityNameResolver;
-import org.hibernate.tuple.entity.EntityTuplizer;
+import org.hibernate.StatelessSession;
import org.hibernate.cache.CacheKey;
import org.hibernate.cache.CollectionRegion;
import org.hibernate.cache.EntityRegion;
@@ -113,16 +109,19 @@
import org.hibernate.tool.hbm2ddl.SchemaUpdate;
import org.hibernate.tool.hbm2ddl.SchemaValidator;
import org.hibernate.transaction.TransactionFactory;
+import org.hibernate.tuple.entity.EntityTuplizer;
import org.hibernate.type.AssociationType;
import org.hibernate.type.Type;
import org.hibernate.util.CollectionHelper;
-import org.hibernate.util.ReflectHelper;
import org.hibernate.util.EmptyIterator;
+import org.hibernate.util.ReflectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* Concrete implementation of the <tt>SessionFactory</tt> interface. Has the
following
- * responsibilites
+ * responsibilities
* <ul>
* <li>caches configuration settings (immutably)
* <li>caches "compiled" mappings ie.
<tt>EntityPersister</tt>s and
@@ -1066,7 +1065,7 @@
private CurrentSessionContext buildCurrentSessionContext() {
String impl = properties.getProperty( Environment.CURRENT_SESSION_CONTEXT_CLASS );
- // for backward-compatability
+ // for backward-compatibility
if ( impl == null && transactionManager != null ) {
impl = "jta";
}
Show replies by date