code: public Criteria createAlias(String associationPath, String alias, int joinType) {
          return criteria.createAlias(associationPath, alias, JoinType.parse(joinType));
      }
docs: Join an association using the specified join-type, assigning an alias
  to the joined association.
  The joinType is expected to be one of CriteriaSpecification.INNER_JOIN (the default),
  CriteriaSpecificationFULL_JOIN, or CriteriaSpecificationLEFT_JOIN.
  
  @param associationPath A dot-seperated property path
  @param alias           The alias to assign to the joined association (for later reference).
  @param joinType        The type of join to use.
  @return this (for method chaining)
  @throws HibernateException Indicates a problem creating the sub criteria
  @see #createAlias(String, String)