[hibernate-commits] Hibernate SVN: r18317 - core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/type.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Dec 22 10:08:07 EST 2009


Author: stliu
Date: 2009-12-22 10:08:07 -0500 (Tue, 22 Dec 2009)
New Revision: 18317

Modified:
   core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/type/EntityType.java
Log:
minor change, correct javadoc spell

Modified: core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/type/EntityType.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/type/EntityType.java	2009-12-22 14:43:19 UTC (rev 18316)
+++ core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/type/EntityType.java	2009-12-22 15:08:07 UTC (rev 18317)
@@ -73,7 +73,7 @@
 	 * @param eager Is eager fetching enabled.
 	 * @param isEmbeddedInXML Should values of this mapping be embedded in XML modes?
 	 * @param unwrapProxy Is unwrapping of proxies allowed for this association; unwrapping
-	 * says to return the "implementation target" of lazy prooxies; typically only possible
+	 * says to return the "implementation target" of lazy proxies; typically only possible
 	 * with lazy="no-proxy".
 	 */
 	protected EntityType(
@@ -190,7 +190,7 @@
 	 * entity persister (nor to the session factory, to look it up) which is really
 	 * needed to "do the right thing" here...
 	 *
-	 * @return The entiyt class.
+	 * @return The entity class.
 	 */
 	public final Class getReturnedClass() {
 		if ( returnedClass == null ) {
@@ -437,7 +437,7 @@
 			Object propertyValue = entityPersister.getPropertyValue( value, uniqueKeyPropertyName, session.getEntityMode() );
 			// We now have the value of the property-ref we reference.  However,
 			// we need to dig a little deeper, as that property might also be
-			// an entity type, in which case we need to resolve its identitifier
+			// an entity type, in which case we need to resolve its identifier
 			Type type = entityPersister.getPropertyType( uniqueKeyPropertyName );
 			if ( type.isEntityType() ) {
 				propertyValue = ( ( EntityType ) type ).getIdentifier( propertyValue, session );
@@ -454,7 +454,7 @@
 	/**
 	 * Get the identifier value of an instance or proxy.
 	 * <p/>
-	 * Intended only for loggin purposes!!!
+	 * Intended only for login purposes!!!
 	 *
 	 * @param object The object from which to extract the identifier.
 	 * @param persister The entity persister
@@ -577,7 +577,7 @@
 	 * Resolve an identifier via a load.
 	 *
 	 * @param id The entity id to resolve
-	 * @param session The orginating session.
+	 * @param session The originating session.
 	 * @return The resolved identifier (i.e., loaded entity).
 	 * @throws org.hibernate.HibernateException Indicates problems performing the load.
 	 */
@@ -610,7 +610,7 @@
 	 * Load an instance by a unique key that is not the primary key.
 	 *
 	 * @param entityName The name of the entity to load
-	 * @param uniqueKeyPropertyName The name of the property defining the uniqie key.
+	 * @param uniqueKeyPropertyName The name of the property defining the unique key.
 	 * @param key The unique key property value.
 	 * @param session The originating session.
 	 * @return The loaded entity



More information about the hibernate-commits mailing list