Пример #1
0
 /**
  * Constructs a join description.
  *
  * @param rhsType Type of the new entity
  * @param rhsAlias The alias to be used when referencing field of the joined type
  */
 public Join(Class rhsType, String rhsAlias) {
   this(null, TypeDescriptor.get(rhsType), rhsAlias);
 }
Пример #2
0
 /**
  * Constructs a join description.
  *
  * @param rhsType Type of the new entity
  * @param rhsAlias The alias to be used when referencing field of the joined type
  */
 public Join(String schemaName, Class rhsType, String rhsAlias) {
   this(schemaName, TypeDescriptor.get(rhsType), rhsAlias);
 }
Пример #3
0
 /**
  * Constructs a join description.
  *
  * @param rhsType Type of the new entity
  */
 public Join(Class rhsType) {
   this(rhsType, TypeDescriptor.get(rhsType).getTableAlias());
 }