diff --git a/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryCompiler.java b/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryCompiler.java index 09d11a11e7..89846381cd 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryCompiler.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryCompiler.java @@ -34,7 +34,7 @@ import org.hibernate.ejb.HibernateEntityManagerImplementor; * Compiles a JPA criteria query into an executable {@link TypedQuery}. Its single contract is the {@link #compile} * method. *

- * NOTE : This is a temporay implementation which simply translates the criteria query into a JPAQL query string. A + * NOTE : This is a temporary implementation which simply translates the criteria query into a JPAQL query string. A * better, long-term solution is being implemented as part of refactoring the JPAQL/HQL translator. * * @author Steve Ebersole diff --git a/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryImpl.java b/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryImpl.java index 5c5eb21050..0f35a3bef4 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryImpl.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/criteria/CriteriaQueryImpl.java @@ -39,7 +39,7 @@ import javax.persistence.criteria.Subquery; import javax.persistence.metamodel.EntityType; /** - * The Hibernate implementation of the JPA {@link CriteriaQuery} contract. Mostlty a set of delegation to its + * The Hibernate implementation of the JPA {@link CriteriaQuery} contract. Mostly a set of delegation to its * internal {@link QueryStructure}. * * @author Steve Ebersole