diff --git a/core/src/main/java/org/hibernate/Session.java b/core/src/main/java/org/hibernate/Session.java index 457d8cc551..b02324cfa6 100644 --- a/core/src/main/java/org/hibernate/Session.java +++ b/core/src/main/java/org/hibernate/Session.java @@ -168,7 +168,6 @@ public interface Session extends Serializable { * * @return The session factory. * @see SessionFactory - */ public SessionFactory getSessionFactory(); @@ -761,7 +760,6 @@ public interface Session extends Serializable { * Return the persistent instance of the given entity class with the given identifier, * or null if there is no such persistent instance. (If the instance is already associated * with the session, return that instance. This method never returns an uninitialized instance.) - * Obtain the specified lock mode if the instance exists. * * @param clazz a persistent class * @param id an identifier @@ -840,7 +838,6 @@ public interface Session extends Serializable { */ public Object get(String entityName, Serializable id, LockOptions lockOptions) throws HibernateException; - /** * Return the entity name for a persistent entity * @@ -922,7 +919,6 @@ public interface Session extends Serializable { */ public void doWork(Work work) throws HibernateException; - /** * Disconnect the Session from the current JDBC connection. If * the connection was obtained by Hibernate close it and return it to diff --git a/core/src/main/java/org/hibernate/cfg/Environment.java b/core/src/main/java/org/hibernate/cfg/Environment.java index 1f4b5dc8fd..b7301a0732 100644 --- a/core/src/main/java/org/hibernate/cfg/Environment.java +++ b/core/src/main/java/org/hibernate/cfg/Environment.java @@ -420,7 +420,7 @@ public final class Environment { */ public static final String USE_SECOND_LEVEL_CACHE = "hibernate.cache.use_second_level_cache"; /** - * Optimize the cache for mimimal puts instead of minimal gets + * Optimize the cache for minimal puts instead of minimal gets */ public static final String USE_MINIMAL_PUTS = "hibernate.cache.use_minimal_puts"; /** @@ -450,7 +450,7 @@ public final class Environment { public static final String QUERY_TRANSLATOR = "hibernate.query.factory_class"; /** - * A comma-seperated list of token substitutions to use when translating a Hibernate + * A comma-separated list of token substitutions to use when translating a Hibernate * query to SQL */ public static final String QUERY_SUBSTITUTIONS = "hibernate.query.substitutions"; @@ -487,7 +487,7 @@ public final class Environment { public static final String ORDER_UPDATES = "hibernate.order_updates"; /** - * Enable ordering of insert statements for the purpose of more effecient JDBC batching. + * Enable ordering of insert statements for the purpose of more efficient JDBC batching. */ public static final String ORDER_INSERTS = "hibernate.order_inserts"; diff --git a/core/src/main/java/org/hibernate/cfg/SettingsFactory.java b/core/src/main/java/org/hibernate/cfg/SettingsFactory.java index 00521ccfa4..eabee85e41 100644 --- a/core/src/main/java/org/hibernate/cfg/SettingsFactory.java +++ b/core/src/main/java/org/hibernate/cfg/SettingsFactory.java @@ -102,7 +102,7 @@ public class SettingsFactory implements Serializable { JdbcSupport jdbcSupport = null; // 'hibernate.temp.use_jdbc_metadata_defaults' is a temporary magic value. - // The need for it is intended to be alleviated with future developement, thus it is + // The need for it is intended to be alleviated with future development, thus it is // not defined as an Environment constant... // // it is used to control whether we should consult the JDBC metadata to determine