From: <fab...@us...> - 2008-09-03 21:36:17
|
Revision: 3745 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=3745&view=rev Author: fabiomaulo Date: 2008-09-03 21:35:18 +0000 (Wed, 03 Sep 2008) Log Message: ----------- Fix NH-1467 (documentation) by Simon Cropp Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Action/CollectionAction.cs trunk/nhibernate/src/NHibernate/Action/EntityAction.cs trunk/nhibernate/src/NHibernate/Action/EntityUpdateAction.cs trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs trunk/nhibernate/src/NHibernate/AdoNet/SqlClientSqlCommandSet.cs trunk/nhibernate/src/NHibernate/AssertionFailure.cs trunk/nhibernate/src/NHibernate/Cache/CachedItem.cs trunk/nhibernate/src/NHibernate/Cache/QueryKey.cs trunk/nhibernate/src/NHibernate/CallbackException.cs trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/ClassCacheConfiguration.cs trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/HibernateConfiguration.cs trunk/nhibernate/src/NHibernate/Cfg/Environment.cs trunk/nhibernate/src/NHibernate/Cfg/ImprovedNamingStrategy.cs trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs trunk/nhibernate/src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs trunk/nhibernate/src/NHibernate/Classic/ValidationFailure.cs trunk/nhibernate/src/NHibernate/Collection/AbstractPersistentCollection.cs trunk/nhibernate/src/NHibernate/Collection/IPersistentCollection.cs trunk/nhibernate/src/NHibernate/Collection/PersistentBag.cs trunk/nhibernate/src/NHibernate/Collection/PersistentIdentifierBag.cs trunk/nhibernate/src/NHibernate/Criterion/ICriteriaQuery.cs trunk/nhibernate/src/NHibernate/Criterion/LogicalExpression.cs trunk/nhibernate/src/NHibernate/Criterion/Restrictions.cs trunk/nhibernate/src/NHibernate/Dialect/Dialect.cs trunk/nhibernate/src/NHibernate/Dialect/Function/CastFunction.cs trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs trunk/nhibernate/src/NHibernate/Dialect/Schema/IDataBaseSchema.cs trunk/nhibernate/src/NHibernate/Dialect/Sybase11Dialect.cs trunk/nhibernate/src/NHibernate/Engine/ActionQueue.cs trunk/nhibernate/src/NHibernate/Engine/CascadeStyle.cs trunk/nhibernate/src/NHibernate/Engine/CascadingAction.cs trunk/nhibernate/src/NHibernate/Engine/EntityEntry.cs trunk/nhibernate/src/NHibernate/Engine/IPersistenceContext.cs trunk/nhibernate/src/NHibernate/Engine/ISessionImplementor.cs trunk/nhibernate/src/NHibernate/Engine/Loading/CollectionLoadContext.cs trunk/nhibernate/src/NHibernate/Engine/Loading/LoadContexts.cs trunk/nhibernate/src/NHibernate/Engine/Query/QueryPlanCache.cs trunk/nhibernate/src/NHibernate/Engine/StatefulPersistenceContext.cs trunk/nhibernate/src/NHibernate/Engine/TypedValue.cs trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs trunk/nhibernate/src/NHibernate/Event/Default/AbstractSaveEventListener.cs trunk/nhibernate/src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs trunk/nhibernate/src/NHibernate/Event/IEventSource.cs trunk/nhibernate/src/NHibernate/Event/IPostInsertEventListener.cs trunk/nhibernate/src/NHibernate/Event/ListenerType.cs trunk/nhibernate/src/NHibernate/Event/MergeEvent.cs trunk/nhibernate/src/NHibernate/Exceptions/SQLStateConverter.cs trunk/nhibernate/src/NHibernate/Hql/Classic/FromParser.cs trunk/nhibernate/src/NHibernate/Hql/Classic/QueryTranslator.cs trunk/nhibernate/src/NHibernate/IDetachedQuery.cs trunk/nhibernate/src/NHibernate/IMultiQuery.cs trunk/nhibernate/src/NHibernate/IQuery.cs trunk/nhibernate/src/NHibernate/ISession.cs trunk/nhibernate/src/NHibernate/Impl/AbstractDetachedQuery.cs trunk/nhibernate/src/NHibernate/Impl/AbstractSessionImpl.cs trunk/nhibernate/src/NHibernate/Impl/CriteriaImpl.cs trunk/nhibernate/src/NHibernate/Impl/DbCommandSet.cs trunk/nhibernate/src/NHibernate/Impl/EnumerableImpl.cs trunk/nhibernate/src/NHibernate/Impl/SessionImpl.cs trunk/nhibernate/src/NHibernate/Impl/StatelessSessionImpl.cs trunk/nhibernate/src/NHibernate/Loader/Custom/ColumnCollectionAliases.cs trunk/nhibernate/src/NHibernate/Loader/Custom/EntityFetchReturn.cs trunk/nhibernate/src/NHibernate/Loader/Custom/ScalarReturn.cs trunk/nhibernate/src/NHibernate/Loader/Custom/Sql/SQLQueryParser.cs trunk/nhibernate/src/NHibernate/Loader/GeneratedCollectionAliases.cs trunk/nhibernate/src/NHibernate/Loader/ICollectionAliases.cs trunk/nhibernate/src/NHibernate/Loader/Loader.cs trunk/nhibernate/src/NHibernate/LockMode.cs trunk/nhibernate/src/NHibernate/Mapping/Collection.cs trunk/nhibernate/src/NHibernate/Mapping/DenormalizedTable.cs trunk/nhibernate/src/NHibernate/Mapping/IMetaAttributable.cs trunk/nhibernate/src/NHibernate/Mapping/PersistentClass.cs trunk/nhibernate/src/NHibernate/Mapping/RootClass.cs trunk/nhibernate/src/NHibernate/NHibernateUtil.cs trunk/nhibernate/src/NHibernate/Persister/Collection/ICollectionPersister.cs trunk/nhibernate/src/NHibernate/Persister/Entity/AbstractEntityPersister.cs trunk/nhibernate/src/NHibernate/Persister/Entity/IEntityPersister.cs trunk/nhibernate/src/NHibernate/Persister/Entity/IQueryable.cs trunk/nhibernate/src/NHibernate/Persister/Entity/JoinedSubclassEntityPersister.cs trunk/nhibernate/src/NHibernate/Persister/PersisterFactory.cs trunk/nhibernate/src/NHibernate/Properties/IGetter.cs trunk/nhibernate/src/NHibernate/Properties/PropertyAccessorFactory.cs trunk/nhibernate/src/NHibernate/Proxy/AbstractLazyInitializer.cs trunk/nhibernate/src/NHibernate/Proxy/INHibernateProxy.cs trunk/nhibernate/src/NHibernate/Proxy/IProxyFactory.cs trunk/nhibernate/src/NHibernate/QueryParameterException.cs trunk/nhibernate/src/NHibernate/SqlCommand/OracleJoinFragment.cs trunk/nhibernate/src/NHibernate/SqlCommand/Parameter.cs trunk/nhibernate/src/NHibernate/SqlCommand/SqlInsertBuilder.cs trunk/nhibernate/src/NHibernate/SqlCommand/SqlString.cs trunk/nhibernate/src/NHibernate/SqlCommand/SqlUpdateBuilder.cs trunk/nhibernate/src/NHibernate/Stat/IStatistics.cs trunk/nhibernate/src/NHibernate/Tuple/Component/IComponentTuplizer.cs trunk/nhibernate/src/NHibernate/Tuple/Entity/AbstractEntityTuplizer.cs trunk/nhibernate/src/NHibernate/Tuple/Entity/IEntityTuplizer.cs trunk/nhibernate/src/NHibernate/Tuple/IInstantiator.cs trunk/nhibernate/src/NHibernate/Type/ClassMetaType.cs trunk/nhibernate/src/NHibernate/Type/CollectionType.cs trunk/nhibernate/src/NHibernate/Type/EmbeddedComponentType.cs trunk/nhibernate/src/NHibernate/Type/ILiteralType.cs trunk/nhibernate/src/NHibernate/Type/IType.cs.xmldoc trunk/nhibernate/src/NHibernate/Type/ManyToOneType.cs trunk/nhibernate/src/NHibernate/Type/NullableType.cs trunk/nhibernate/src/NHibernate/Type/PrimitiveType.cs trunk/nhibernate/src/NHibernate/Type/TimeType.cs trunk/nhibernate/src/NHibernate/Type/TypeFactory.cs trunk/nhibernate/src/NHibernate/UserTypes/ILoggableUserType.cs trunk/nhibernate/src/NHibernate/UserTypes/IUserCollectionType.cs trunk/nhibernate/src/NHibernate/UserTypes/IUserType.cs trunk/nhibernate/src/NHibernate/Util/JoinedEnumerable.cs trunk/nhibernate/src/NHibernate/Util/ObjectUtils.cs trunk/nhibernate/src/NHibernate/Util/ReflectHelper.cs trunk/nhibernate/src/NHibernate/Util/SafetyEnumerable.cs trunk/nhibernate/src/NHibernate/Util/SequencedHashMap.cs trunk/nhibernate/src/NHibernate/Util/SoftLimitMRUCache.cs trunk/nhibernate/src/NHibernate/Util/StringHelper.cs Modified: trunk/nhibernate/src/NHibernate/Action/CollectionAction.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Action/CollectionAction.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Action/CollectionAction.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -29,7 +29,7 @@ /// <param name="persister">The <see cref="ICollectionPersister"/> that is responsible for the persisting the Collection.</param> /// <param name="collection">The Persistent collection.</param> /// <param name="key">The identifier of the Collection.</param> - /// <param name="session">The <see cref="ISessionImplementor"/> that the Action is occuring in.</param> + /// <param name="session">The <see cref="ISessionImplementor"/> that the Action is occurring in.</param> protected CollectionAction(ICollectionPersister persister, IPersistentCollection collection, object key, ISessionImplementor session) { @@ -91,7 +91,7 @@ // executed, since this may be an inverse="true" // bidirectional association and it is one of the // earlier entity actions which actually updates - // the database (this action is resposible for + // the database (this action is responsible for // second-level cache invalidation only) if (persister.HasCache) { @@ -177,4 +177,4 @@ #endregion } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Action/EntityAction.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Action/EntityAction.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Action/EntityAction.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -28,7 +28,7 @@ /// </summary> /// <param name="session">The session from which this action is coming.</param> /// <param name="id">The id of the entity</param> - /// <param name="instance">The entiyt instance</param> + /// <param name="instance">The entity instance</param> /// <param name="persister">The entity persister</param> protected internal EntityAction(ISessionImplementor session, object id, object instance, IEntityPersister persister) { Modified: trunk/nhibernate/src/NHibernate/Action/EntityUpdateAction.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Action/EntityUpdateAction.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Action/EntityUpdateAction.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -84,7 +84,7 @@ TypeFactory.DeepCopy(state, persister.PropertyTypes, persister.PropertyCheckability, state, Session); if (persister.HasUpdateGeneratedProperties) { - // this entity defines proeprty generation, so process those generated + // this entity defines property generation, so process those generated // values... persister.ProcessUpdateGeneratedProperties(id, instance, state, Session); if (persister.IsVersionPropertyGenerated) Modified: trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs =================================================================== --- trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/AdoNet/AbstractBatcher.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -527,7 +527,7 @@ #region IDisposable Members /// <summary> - /// A flag to indicate if <c>Disose()</c> has been called. + /// A flag to indicate if <c>Dispose()</c> has been called. /// </summary> private bool _isAlreadyDisposed; Modified: trunk/nhibernate/src/NHibernate/AdoNet/SqlClientSqlCommandSet.cs =================================================================== --- trunk/nhibernate/src/NHibernate/AdoNet/SqlClientSqlCommandSet.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/AdoNet/SqlClientSqlCommandSet.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -115,7 +115,7 @@ } catch (Exception e) { - throw new HibernateException("An exception occured when executing batch queries", e); + throw new HibernateException("An exception occurred when executing batch queries", e); } } @@ -153,4 +153,4 @@ #endregion } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/AssertionFailure.cs =================================================================== --- trunk/nhibernate/src/NHibernate/AssertionFailure.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/AssertionFailure.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -16,7 +16,7 @@ public AssertionFailure() : base(String.Empty) { LogManager.GetLogger(typeof(AssertionFailure)).Error( - "An AssertionFailure occured - this may indicate a bug in NHibernate"); + "An AssertionFailure occurred - this may indicate a bug in NHibernate"); } /// <summary> @@ -26,7 +26,7 @@ public AssertionFailure(string message) : base(message) { LogManager.GetLogger(typeof(AssertionFailure)).Error( - "An AssertionFailure occured - this may indicate a bug in NHibernate", this); + "An AssertionFailure occurred - this may indicate a bug in NHibernate", this); } /// <summary> @@ -41,7 +41,7 @@ public AssertionFailure(string message, Exception innerException) : base(message, innerException) { LogManager.GetLogger(typeof(AssertionFailure)).Error( - "An AssertionFailure occured - this may indicate a bug in NHibernate", innerException); + "An AssertionFailure occurred - this may indicate a bug in NHibernate", innerException); } /// <summary> @@ -58,4 +58,4 @@ { } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Cache/CachedItem.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cache/CachedItem.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cache/CachedItem.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -64,7 +64,7 @@ } /// <summary> - /// Don't overwite already cached items + /// Don't overwrite already cached items /// </summary> /// <param name="txTimestamp"></param> /// <param name="newVersion"></param> @@ -85,4 +85,4 @@ "}"; } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Cache/QueryKey.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cache/QueryKey.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cache/QueryKey.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -32,7 +32,7 @@ /// <summary> /// Initializes a new instance of the <see cref="QueryKey"/> class. /// </summary> - /// <param name="factory">the sesion factory for this query key, required to get the identifiers of entities that are used as values.</param> + /// <param name="factory">the session factory for this query key, required to get the identifiers of entities that are used as values.</param> /// <param name="queryString">The query string.</param> /// <param name="queryParameters">The query parameters.</param> /// <param name="filters">The filters.</param> @@ -254,4 +254,4 @@ return buf.ToString(); } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/CallbackException.cs =================================================================== --- trunk/nhibernate/src/NHibernate/CallbackException.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/CallbackException.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -15,7 +15,7 @@ /// is not a null reference, the current exception is raised in a catch block that handles /// the inner exception. /// </param> - public CallbackException(Exception innerException) : this("An exception occured in a callback", innerException) + public CallbackException(Exception innerException) : this("An exception occurred in a callback", innerException) { } @@ -55,4 +55,4 @@ { } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -652,7 +652,7 @@ } /// <summary> - /// Generate DDL for droping tables + /// Generate DDL for dropping tables /// </summary> /// <seealso cref="NHibernate.Tool.hbm2ddl.SchemaExport" /> public string[] GenerateDropSchemaScript(Dialect.Dialect dialect) @@ -1778,7 +1778,7 @@ /// </summary> /// <param name="type">The <see cref="ListenerType"/>.</param> /// <param name="listeners">The listener for <paramref name="type"/> or null to clear.</param> - /// <remarks>Listners of <paramref name="listeners"/> must implements one of the interface of event listenesr.</remarks> + /// <remarks>Listeners of <paramref name="listeners"/> must implements one of the interface of event listenesr.</remarks> /// <seealso cref="NHibernate.Event"/> public void SetListeners(ListenerType type, object[] listeners) { Modified: trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/ClassCacheConfiguration.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/ClassCacheConfiguration.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/ClassCacheConfiguration.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -158,7 +158,7 @@ /// </summary> /// <remarks> /// Not implemented in Cache. - /// Defaul value <see cref="ClassCacheInclude.All"/>. + /// Default value <see cref="ClassCacheInclude.All"/>. /// </remarks> public ClassCacheInclude Include { Modified: trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/HibernateConfiguration.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/HibernateConfiguration.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/ConfigurationSchema/HibernateConfiguration.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -51,7 +51,7 @@ } catch (Exception e) { - // Encapsule and reThrow + // Encapsulate and reThrow throw new HibernateConfigException(e); } Parse(nav, fromAppSetting); @@ -108,7 +108,7 @@ private static void LogWarnIgnoredProperty(string propName) { if (log.IsWarnEnabled) - log.Warn(string.Format("{0} propety is ignored out of application configuration file.", propName)); + log.Warn(string.Format("{0} property is ignored out of application configuration file.", propName)); } private void ParseReflectionOptimizer(XPathNavigator navigator, bool fromAppConfig) Modified: trunk/nhibernate/src/NHibernate/Cfg/Environment.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/Environment.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/Environment.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -29,9 +29,9 @@ /// corresponds to Java system-level properties; <c><session-factory></c> /// section is the session-factory-level configuration. /// - /// It is possible to use the applicatoin configuration file (App.config) together with the NHibernate + /// It is possible to use the application configuration file (App.config) together with the NHibernate /// configuration file (hibernate.cfg.xml) at the same time. - /// Properties in hibernate.cfg.xml override/merge properties in applicatoin configuration file where same + /// Properties in hibernate.cfg.xml override/merge properties in application configuration file where same /// property is found. For others configuration a merge is applied. /// </remarks> public sealed class Environment Modified: trunk/nhibernate/src/NHibernate/Cfg/ImprovedNamingStrategy.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/ImprovedNamingStrategy.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/ImprovedNamingStrategy.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -30,7 +30,7 @@ } /// <summary> - /// Return the full property path with underscore seperators, mixed case converted to underscores + /// Return the full property path with underscore separators, mixed case converted to underscores /// </summary> /// <param name="propertyName"></param> /// <returns></returns> @@ -60,7 +60,7 @@ } /// <summary> - /// Return the full property path prefixed by the unqualified class name, with underscore seperators, mixed case converted to underscores + /// Return the full property path prefixed by the unqualified class name, with underscore separators, mixed case converted to underscores /// </summary> /// <param name="className"></param> /// <param name="propertyName"></param> @@ -96,4 +96,4 @@ return buf.ToString(); } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -79,7 +79,7 @@ /// Binding table between the logical column name and the name out of the naming strategy /// for each table. /// According that when the column name is not set, the property name is considered as such - /// This means that while theorically possible through the naming strategy contract, it is + /// This means that while theoretically possible through the naming strategy contract, it is /// forbidden to have 2 real columns having the same logical name /// </summary> protected internal IDictionary<Table, ColumnNames> columnNameBindingPerTable; @@ -387,7 +387,7 @@ /// <summary> /// Gets or sets a boolean indicating if the Fully Qualified Type name should - /// automattically have an import added as the class name. + /// automatically have an import added as the class name. /// </summary> /// <value><see langword="true" /> if the class name should be used as an import.</value> /// <remarks> Modified: trunk/nhibernate/src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -737,7 +737,7 @@ return columns.ToString(); } - //automatically makes a column with the default name if none is specifed by XML + //automatically makes a column with the default name if none is specified by XML protected void BindSimpleValue(XmlNode node, SimpleValue model, bool isNullable, string path) { BindSimpleValueType(node, model); Modified: trunk/nhibernate/src/NHibernate/Classic/ValidationFailure.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Classic/ValidationFailure.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Classic/ValidationFailure.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -13,7 +13,7 @@ /// <summary> /// Initializes a new instance of the <see cref="ValidationFailure"/> class. /// </summary> - public ValidationFailure() : base("A validation failure occured") + public ValidationFailure() : base("A validation failure occurred") { } @@ -33,7 +33,7 @@ /// is not a null reference, the current exception is raised in a catch block that handles /// the inner exception. /// </param> - public ValidationFailure(Exception innerException) : base("A validation failure occured", innerException) + public ValidationFailure(Exception innerException) : base("A validation failure occurred", innerException) { } @@ -65,4 +65,4 @@ { } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Collection/AbstractPersistentCollection.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Collection/AbstractPersistentCollection.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Collection/AbstractPersistentCollection.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -361,7 +361,7 @@ } /// <summary> - /// Queue an addition, delete etc. if the peristent collection supports it + /// Queue an addition, delete etc. if the persistent collection supports it /// </summary> protected void QueueOperation(IDelayedOperation element) { @@ -493,7 +493,7 @@ /// <summary> /// Gets a <see cref="Boolean"/> indicating if the underlying collection is directly - /// accessable through code. + /// accessible through code. /// </summary> /// <value> /// <see langword="true" /> if we are not guaranteed that the NHibernate collection wrapper @@ -865,4 +865,4 @@ #endregion } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Collection/IPersistentCollection.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Collection/IPersistentCollection.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Collection/IPersistentCollection.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -127,7 +127,7 @@ /// <summary> /// Gets a <see cref="bool"/> indicating if the underlying collection is directly - /// accessable through code. + /// accessible through code. /// </summary> /// <value> /// <see langword="true" /> if we are not guaranteed that the NHibernate collection wrapper @@ -338,4 +338,4 @@ /// </returns> ICollection GetOrphans(object snapshot, string entityName); } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Collection/PersistentBag.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Collection/PersistentBag.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Collection/PersistentBag.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -67,7 +67,7 @@ // the multiplicity would be broken ... so use an idbag instead object element = role.ReadElement(reader, owner, descriptor.SuffixedElementAliases, Session); // NH Different behavior : we don't check for null - // The NH-750 test show how cheking for null we are ignoring the not-found tag and + // The NH-750 test show how checking for null we are ignoring the not-found tag and // the DB may have some records ignored by NH. This issue may need some more deep consideration. //if (element != null) bag.Add(element); @@ -538,4 +538,4 @@ #endregion } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Collection/PersistentIdentifierBag.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Collection/PersistentIdentifierBag.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Collection/PersistentIdentifierBag.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -76,7 +76,7 @@ private object GetIdentifier(int index) { - // NH specific : To emulate IDictionary behavior but using Dictionary<int, object> (whitout boxing/unboxing for index) + // NH specific : To emulate IDictionary behavior but using Dictionary<int, object> (without boxing/unboxing for index) object result; identifiers.TryGetValue(index, out result); return result; @@ -437,4 +437,4 @@ #endregion } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Criterion/ICriteriaQuery.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Criterion/ICriteriaQuery.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Criterion/ICriteriaQuery.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -64,7 +64,7 @@ int GetIndexForAlias(); /// <summary> - /// When adding values to the query string it is imparative that they are reported via this function back to the query builder. + /// When adding values to the query string it is imperative that they are reported via this function back to the query builder. /// Do not report the same item multiple times as it will be assumed to be a separate parameter. /// </summary> void AddUsedTypedValues(TypedValue [] values); Modified: trunk/nhibernate/src/NHibernate/Criterion/LogicalExpression.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Criterion/LogicalExpression.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Criterion/LogicalExpression.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -47,7 +47,7 @@ /// Combines the <see cref="TypedValue"/> for the Left Hand Side and the /// Right Hand Side of the Expression into one array. /// </summary> - /// <returns>An arry of <see cref="TypedValue"/>s.</returns> + /// <returns>An array of <see cref="TypedValue"/>s.</returns> public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery) { TypedValue[] lhstv = _lhs.GetTypedValues(criteria, criteriaQuery); Modified: trunk/nhibernate/src/NHibernate/Criterion/Restrictions.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Criterion/Restrictions.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Criterion/Restrictions.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -663,7 +663,7 @@ } /// <summary> - /// Return the conjuction of two expressions + /// Return the conjunction of two expressions /// </summary> /// <param name="lhs">The Expression to use as the Left Hand Side.</param> /// <param name="rhs">The Expression to use as the Right Hand Side.</param> Modified: trunk/nhibernate/src/NHibernate/Dialect/Dialect.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Dialect/Dialect.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Dialect/Dialect.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -989,7 +989,7 @@ } /// <summary> - /// How we seperate the queries when we use multiply queries. + /// How we separate the queries when we use multiply queries. /// </summary> public virtual string MultipleQueriesSeparator { @@ -1105,7 +1105,7 @@ /// <summary> /// Whether this dialect has an identity clause added to the data type or a - /// completely seperate identity data type. + /// completely separate identity data type. /// </summary> public virtual bool HasDataTypeInIdentityColumn { @@ -1129,7 +1129,7 @@ /// <summary> /// Get the select command to use to retrieve the last generated IDENTITY - /// value for a particuar table + /// value for a particular table /// </summary> /// <param name="tableName">The table into which the insert was done </param> /// <param name="identityColumn">The PK column. </param> @@ -1234,7 +1234,7 @@ } /// <summary> - /// Generate the select expression fragment that will retreive the next + /// Generate the select expression fragment that will retrieve the next /// value of a sequence as part of another (typically DML) statement. /// </summary> /// <param name="sequenceName">the name of the sequence </param> @@ -1837,7 +1837,7 @@ get { return true; } } - /// <summary> Does the dialect support propogating changes to LOB + /// <summary> Does the dialect support propagating changes to LOB /// values back to the database? Talking about mutating the /// internal value of the locator as opposed to supplying a new /// locator instance... @@ -1859,7 +1859,7 @@ /// databases which (1) are not part of the cruise control process /// or (2) do not {@link #supportsExpectedLobUsagePattern}. /// </summary> - /// <returns> True if the changes are propogated back to the database; false otherwise. </returns> + /// <returns> True if the changes are propagated back to the database; false otherwise. </returns> public virtual bool SupportsLobValueChangePropogation { get { return true; } Modified: trunk/nhibernate/src/NHibernate/Dialect/Function/CastFunction.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Dialect/Function/CastFunction.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Dialect/Function/CastFunction.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -20,7 +20,7 @@ public IType ReturnType(IType columnType, IMapping mapping) { - //note there is a wierd implementation in the client side + //note there is a weird implementation in the client side //TODO: cast that use only costant are not supported in SELECT. Ex: cast(5 as string) return columnType; } Modified: trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -469,7 +469,7 @@ get { // SQL Server (at least up through 2005) does not support defining - // cascade delete constraints which can circel back to the mutating + // cascade delete constraints which can circle back to the mutating // table return false; } Modified: trunk/nhibernate/src/NHibernate/Dialect/Schema/IDataBaseSchema.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Dialect/Schema/IDataBaseSchema.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Dialect/Schema/IDataBaseSchema.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -24,7 +24,7 @@ bool StoresUpperCaseQuotedIdentifiers { get; } /// <summary> - /// In the Java language, this field indicats that the database treats mixed-case, + /// In the Java language, this field indicates that the database treats mixed-case, /// unquoted SQL identifiers as case-insensitive and stores them in upper case. /// </summary> bool StoresUpperCaseIdentifiers { get; } @@ -82,7 +82,7 @@ /// <param name="schemaPattern">Schema pattern, retrieves those without the schema</param> /// <param name="tableName">A table name pattern</param> /// <returns>A description of the table's indices available</returns> - /// <remarks>The result is relative to the schema sollections "Indexes".</remarks> + /// <remarks>The result is relative to the schema collections "Indexes".</remarks> DataTable GetIndexInfo(string catalog, string schemaPattern, string tableName); /// <summary> @@ -93,7 +93,7 @@ /// <param name="tableName">A table name pattern</param> /// <param name="indexName">The name of the index</param> /// <returns>A description of the table's indices available</returns> - /// <remarks>The result is relative to the schema sollections "IndexColumns".</remarks> + /// <remarks>The result is relative to the schema collections "IndexColumns".</remarks> DataTable GetIndexColumns(string catalog, string schemaPattern, string tableName, string indexName); /* @@ -116,4 +116,4 @@ /// <returns>A description of the foreign keys available</returns> DataTable GetForeignKeys(string catalog, string schema, string table); } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Dialect/Sybase11Dialect.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Dialect/Sybase11Dialect.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Dialect/Sybase11Dialect.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -18,7 +18,7 @@ } /// <summary> - /// This class is basically a port of the hibernate 3.2 Sybase 11 join fragment. It usees concepts from that join fragment and the Oracle join fragment in NHibernate + /// This class is basically a port of the hibernate 3.2 Sybase 11 join fragment. It uses concepts from that join fragment and the Oracle join fragment in NHibernate /// </summary> internal class Sybase11JoinFragment : JoinFragment { @@ -90,4 +90,4 @@ afterFrom.Add(fromFragmentString); } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Engine/ActionQueue.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/ActionQueue.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/ActionQueue.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -315,7 +315,7 @@ // The main data structure in this ordering algorithm is the 'positionToAction' // map. Essentially this can be thought of as an put-ordered map (the problem with // actually implementing it that way and doing away with the 'nameList' is that - // we'd end up having potential duplicate key values). 'positionToAction' maitains + // we'd end up having potential duplicate key values). 'positionToAction' maintains // a mapping from a position within the 'nameList' structure to a "partial queue" // of actions. @@ -346,7 +346,7 @@ else { // we have seen it before, so we need to determine if this insert action is - // is depenedent upon a previously processed action in terms of FK + // is dependent upon a previously processed action in terms of FK // relationships (this FK checking is done against the entity's property-state // associated with the action...) int lastPos = nameList.LastIndexOf(thisEntityName); Modified: trunk/nhibernate/src/NHibernate/Engine/CascadeStyle.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/CascadeStyle.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/CascadeStyle.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -45,7 +45,7 @@ /// For this style, should the given action really be cascaded? The default /// implementation is simply to return {@link #doCascade}; for certain /// styles (currently only delete-orphan), however, we need to be able to - /// control this seperately. + /// control this separately. /// </remarks> public virtual bool ReallyDoCascade(CascadingAction action) { @@ -53,7 +53,7 @@ } /// <summary> Do we need to delete orphaned collection elements? </summary> - /// <returns> True if this style need to account for orphan delete operations; false othwerwise. </returns> + /// <returns> True if this style need to account for orphan delete operations; false otherwise. </returns> public virtual bool HasOrphanDelete { get { return false; } Modified: trunk/nhibernate/src/NHibernate/Engine/CascadingAction.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/CascadingAction.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/CascadingAction.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -23,7 +23,7 @@ } /// <summary> Cascade the action to the child object. </summary> - /// <param name="session">The session within which the cascade is occuring. </param> + /// <param name="session">The session within which the cascade is occurring. </param> /// <param name="child">The child to which cascading should be performed. </param> /// <param name="entityName">The child's entity name </param> /// <param name="anything">Typically some form of cascade-local cache which is specific to each CascadingAction type </param> @@ -34,7 +34,7 @@ /// Given a collection, get an iterator of the children upon which the /// current cascading action should be visited. /// </summary> - /// <param name="session">The session within which the cascade is occuring. </param> + /// <param name="session">The session within which the cascade is occurring. </param> /// <param name="collectionType">The mapping type of the collection. </param> /// <param name="collection">The collection instance. </param> /// <returns> The children iterator. </returns> @@ -56,7 +56,7 @@ /// Called (in the case of <see cref="RequiresNoCascadeChecking"/> returning true) to validate /// that no cascade on the given property is considered a valid semantic. /// </summary> - /// <param name="session">The session witin which the cascade is occurring. </param> + /// <param name="session">The session within which the cascade is occurring. </param> /// <param name="child">The property value </param> /// <param name="parent">The property value owner </param> /// <param name="persister">The entity persister for the owner </param> @@ -79,7 +79,7 @@ /// Given a collection, get an iterator of all its children, loading them /// from the database if necessary. /// </summary> - /// <param name="session">The session within which the cascade is occuring. </param> + /// <param name="session">The session within which the cascade is occurring. </param> /// <param name="collectionType">The mapping type of the collection. </param> /// <param name="collection">The collection instance. </param> /// <returns> The children iterator. </returns> @@ -101,7 +101,7 @@ } else { - // does not handle arrays (thats ok, cos they can't be lazy) + // does not handle arrays (that's ok, cos they can't be lazy) // or newly instantiated collections, so we can do the cast return ((IPersistentCollection)collection).QueuedAdditionIterator; } Modified: trunk/nhibernate/src/NHibernate/Engine/EntityEntry.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/EntityEntry.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/EntityEntry.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -149,7 +149,7 @@ /// <summary> /// Gets or sets the <see cref="IEntityPersister"/> that is responsible for this Entity. /// </summary> - /// <value>The <see cref="IEntityPersister"/> that is reponsible for this Entity.</value> + /// <value>The <see cref="IEntityPersister"/> that is responsible for this Entity.</value> public IEntityPersister Persister { get { return persister; } @@ -270,4 +270,4 @@ return string.Format("EntityEntry{0}({1})", MessageHelper.InfoString(entityName, id), status); } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Engine/IPersistenceContext.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/IPersistenceContext.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/IPersistenceContext.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -90,7 +90,7 @@ /// <list type="bullet"> /// <listheader><description>This differs from <see cref="GetDatabaseSnapshot"/> is two important respects:</description></listheader> /// <item><description>no snapshot is obtained from the database if not already cached</description></item> - /// <item><description>an entry of NO_ROW here is interpretet as an exception</description></item> + /// <item><description>an entry of NO_ROW here is interpreted as an exception</description></item> /// </list> /// </remarks> object[] GetCachedDatabaseSnapshot(EntityKey key); @@ -127,7 +127,7 @@ void AddEntity(EntityUniqueKey euk, object entity); /// <summary> - /// Retreive the EntityEntry representation of the given entity. + /// Retrieve the EntityEntry representation of the given entity. /// </summary> /// <param name="entity">The entity for which to locate the EntityEntry. </param> /// <returns> The EntityEntry for the given entity. </returns> @@ -316,7 +316,7 @@ /// <summary> Called after cascading</summary> int DecrementCascadeLevel(); - /// <summary> Call this before begining a two-phase load</summary> + /// <summary> Call this before beginning a two-phase load</summary> void BeforeLoad(); /// <summary> Call this after finishing a two-phase load</summary> Modified: trunk/nhibernate/src/NHibernate/Engine/ISessionImplementor.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/ISessionImplementor.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/ISessionImplementor.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -27,9 +27,9 @@ /// <summary> /// Initialize the collection (if not already initialized) /// </summary> - /// <param name="coolection"></param> + /// <param name="collection"></param> /// <param name="writing"></param> - void InitializeCollection(IPersistentCollection coolection, bool writing); + void InitializeCollection(IPersistentCollection collection, bool writing); // NH-268 /// <summary> @@ -145,7 +145,7 @@ /// <summary> /// Notify the session that the transaction completed, so we no longer own the old locks. - /// (Also we shold release cache softlocks). May be called multiple times during the transaction + /// (Also we should release cache softlocks). May be called multiple times during the transaction /// completion process. /// </summary> void AfterTransactionCompletion(bool successful, ITransaction tx); @@ -178,7 +178,7 @@ IList<T> ListCustomQuery<T>(ICustomQuery customQuery, QueryParameters queryParameters); /// <summary> - /// Retreive the currently set value for a filter parameter. + /// Retrieve the currently set value for a filter parameter. /// </summary> /// <param name="filterParameterName">The filter parameter name in the format /// {FILTER_NAME.PARAMETER_NAME}.</param> @@ -186,7 +186,7 @@ object GetFilterParameterValue(string filterParameterName); /// <summary> - /// Retreive the type for a given filter parrameter. + /// Retrieve the type for a given filter parameter. /// </summary> /// <param name="filterParameterName">The filter parameter name in the format /// {FILTER_NAME.PARAMETER_NAME}.</param> @@ -251,7 +251,7 @@ IQuery GetNamedQuery(string queryName); - /// <summary> Determine whether the session is closed. Provided seperately from + /// <summary> Determine whether the session is closed. Provided separately from /// {@link #isOpen()} as this method does not attempt any JTA synch /// registration, where as {@link #isOpen()} does; which makes this one /// nicer to use for most internal purposes. Modified: trunk/nhibernate/src/NHibernate/Engine/Loading/CollectionLoadContext.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/Loading/CollectionLoadContext.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/Loading/CollectionLoadContext.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -292,8 +292,8 @@ // some filters affecting the collection are enabled on the session, so do not do the put into the cache. log.Debug("Refusing to add to cache due to enabled filters"); // todo : add the notion of enabled filters to the CacheKey to differentiate filtered collections from non-filtered; - // but CacheKey is currently used for both collections and entities; would ideally need to define two seperate ones; - // currently this works in conjuction with the check on + // but CacheKey is currently used for both collections and entities; would ideally need to define two separate ones; + // currently this works in conjunction with the check on // DefaultInitializeCollectionEventHandler.initializeCollectionFromCache() (which makes sure to not read from // cache with enabled filters). return; // EARLY EXIT!!!!! Modified: trunk/nhibernate/src/NHibernate/Engine/Loading/LoadContexts.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/Loading/LoadContexts.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/Loading/LoadContexts.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -20,7 +20,7 @@ /// dependent upon potentially bad <see cref="IDataReader"/> and <see cref="IDataReader"/> /// implementations. /// Considering the JDBC-redesign work, would further like this contextual info - /// not mapped seperately, but available based on the result set being processed. + /// not mapped separately, but available based on the result set being processed. /// This would also allow maintaining a single mapping as we could reliably get /// notification of the result-set closing... /// </remarks> Modified: trunk/nhibernate/src/NHibernate/Engine/Query/QueryPlanCache.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/Query/QueryPlanCache.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/Query/QueryPlanCache.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -16,7 +16,7 @@ private readonly ISessionFactoryImplementor factory; // simple cache of param metadata based on query string. Ideally, the - // original "user-supplied query" string should be used to retreive this + // original "user-supplied query" string should be used to retrieve this // metadata (i.e., not the para-list-expanded query string) to avoid // unnecessary cache entries. // Used solely for caching param metadata for native-sql queries, see @@ -38,7 +38,7 @@ { // for native-sql queries, the param metadata is determined outside // any relation to a query plan, because query plan creation and/or - // retreival for a native-sql query depends on all of the return + // retrieval for a native-sql query depends on all of the return // types having been set, which might not be the case up-front when // param metadata would be most useful metadata = BuildNativeSQLParameterMetadata(query); Modified: trunk/nhibernate/src/NHibernate/Engine/StatefulPersistenceContext.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/StatefulPersistenceContext.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/StatefulPersistenceContext.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -336,7 +336,7 @@ /// <list type="bullet"> /// <listheader><description>This differs from <see cref="GetDatabaseSnapshot"/> is two important respects:</description></listheader> /// <item><description>no snapshot is obtained from the database if not already cached</description></item> - /// <item><description>an entry of NO_ROW here is interpretet as an exception</description></item> + /// <item><description>an entry of NO_ROW here is interpreted as an exception</description></item> /// </list> /// </remarks> public object[] GetCachedDatabaseSnapshot(EntityKey key) @@ -466,7 +466,7 @@ } /// <summary> - /// Retreive the EntityEntry representation of the given entity. + /// Retrieve the EntityEntry representation of the given entity. /// </summary> /// <param name="entity">The entity for which to locate the EntityEntry. </param> /// <returns> The EntityEntry for the given entity. </returns> Modified: trunk/nhibernate/src/NHibernate/Engine/TypedValue.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Engine/TypedValue.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Engine/TypedValue.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -10,7 +10,7 @@ public sealed class TypedValue { // Because NH-875 we have a different implementation - // The DefaultComparer is the comparrer used in H3.2.5 + // The DefaultComparer is the comparer used in H3.2.5 // The ParameterListComparer is the comparer introduced in NH to fix NH-845 private readonly IType type; @@ -141,4 +141,4 @@ } } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -32,7 +32,7 @@ /// <summary> /// Coordinates the processing necessary to get things ready for executions - /// as db calls by preping the session caches and moving the appropriate + /// as db calls by preparing the session caches and moving the appropriate /// entities and collections to their respective execution queues. /// </summary> /// <param name="event">The flush event.</param> @@ -271,7 +271,7 @@ persistenceContext.BatchFetchQueue.ClearSubselects(); //the database has changed now, so the subselect results need to be invalidated - // NH Different implementation: In NET an iterator is inmutable; + // NH Different implementation: In NET an iterator is immutable; // we need something to hold the persistent collection to remove, and it must be less intrusive as possible IDictionary cEntries = persistenceContext.CollectionEntries; List<IPersistentCollection> keysToRemove = new List<IPersistentCollection>(cEntries.Count); @@ -299,4 +299,4 @@ session.Interceptor.PostFlush((ICollection) persistenceContext.EntitiesByKey.Values); } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Event/Default/AbstractSaveEventListener.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/Default/AbstractSaveEventListener.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/Default/AbstractSaveEventListener.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -131,7 +131,7 @@ } /// <summary> - /// Ppepares the save call by checking the session caches for a pre-existing + /// Prepares the save call by checking the session caches for a pre-existing /// entity and performing any lifecycle callbacks. /// </summary> /// <param name="entity">The entity to be saved. </param> @@ -338,7 +338,7 @@ } /// <summary> Handles the calls needed to perform pre-save cascades for the given entity. </summary> - /// <param name="source">The session from whcih the save event originated.</param> + /// <param name="source">The session from which the save event originated.</param> /// <param name="persister">The entity's persister instance. </param> /// <param name="entity">The entity to be saved. </param> /// <param name="anything">Generally cascade-specific data </param> @@ -359,7 +359,7 @@ /// <summary> Handles to calls needed to perform post-save cascades. </summary> /// <param name="source">The session from which the event originated. </param> /// <param name="persister">The entity's persister instance. </param> - /// <param name="entity">The entity beng saved. </param> + /// <param name="entity">The entity being saved. </param> /// <param name="anything">Generally cascade-specific data </param> protected virtual void CascadeAfterSave(IEventSource source, IEntityPersister persister, object entity, object anything) { Modified: trunk/nhibernate/src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -311,7 +311,7 @@ private object GetNextVersion(FlushEntityEvent @event) { - // Convience method to retreive an entities next version value + // Convience method to retrieve an entities next version value EntityEntry entry = @event.EntityEntry; IEntityPersister persister = entry.Persister; if (persister.IsVersioned) Modified: trunk/nhibernate/src/NHibernate/Event/IEventSource.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/IEventSource.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/IEventSource.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -28,7 +28,7 @@ /// <summary> Cascade persist an entity instance during the flush process</summary> void PersistOnFlush(string entityName, object obj, IDictionary copiedAlready); - /// <summary> Cascade refesh an entity instance</summary> + /// <summary> Cascade refresh an entity instance</summary> void Refresh(object obj, IDictionary refreshedAlready); /// <summary> Cascade copy an entity instance</summary> @@ -38,4 +38,4 @@ void Delete(string entityName, object child, bool isCascadeDeleteEnabled, ISet transientEntities); } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Event/IPostInsertEventListener.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/IPostInsertEventListener.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/IPostInsertEventListener.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -1,6 +1,6 @@ namespace NHibernate.Event { - /// <summary> Called after insterting an item in the datastore </summary> + /// <summary> Called after inserting an item in the datastore </summary> public interface IPostInsertEventListener { /// <summary> @@ -9,4 +9,4 @@ /// <param name="event"></param> void OnPostInsert(PostInsertEvent @event); } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Event/ListenerType.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/ListenerType.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/ListenerType.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -5,7 +5,7 @@ /// </summary> public enum ListenerType { - /// <summary>Not allowed in Xml. It represente de default value when an explicit type is assigned.</summary> + /// <summary>Not allowed in Xml. It represents the default value when an explicit type is assigned.</summary> NotValidType, /// <summary>Xml value: auto-flush</summary> Autoflush, Modified: trunk/nhibernate/src/NHibernate/Event/MergeEvent.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/MergeEvent.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Event/MergeEvent.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -11,7 +11,7 @@ private string entityName; private object requestedId; - private object entity; // ported from H3.2 even if I don't understand why is unused in costructor + private object entity; // ported from H3.2 even if I don't understand why is unused in constructor private object result; public MergeEvent(object entity, IEventSource source) @@ -68,4 +68,4 @@ set { result = value; } } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Exceptions/SQLStateConverter.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Exceptions/SQLStateConverter.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHibernate/Exceptions/SQLStateConverter.cs 2008-09-03 21:35:18 UTC (rev 3745) @@ -4,7 +4,7 @@ namespace NHibernate.Exceptions { /// <summary> - /// A SQLExceptionConverter implementation which performs no converion of + /// A SQLExceptionConverter implementation which performs no conversion of /// the underlying <see cref="System.Data.Common.DbException"/>. /// Interpretation of a SQL error based on <see cref="System.Data.Common.DbException"/> /// is not possible as using the ErrorCode (which is, however, vendor- @@ -42,4 +42,4 @@ return new GenericADOException(message, sqlException, sql); } } -} \ No newline at end of file +} Modified: trunk/nhibernate/src/NHibernate/Hql/Classic/FromParser.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Hql/Classic/FromParser.cs 2008-09-03 21:03:23 UTC (rev 3744) +++ trunk/nhibernate/src/NHib... [truncated message content] |