0

I have 2 tables p, q I am trying to join it with ID. using createAlias inside createCriteria.list()

Please show me right syntax for the join.

monal86
  • 433
  • 2
  • 11
  • 26

1 Answers1

0

Please read this up. Look for alias

http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/querycriteria.html#querycriteria-projection

Zeus
  • 6,386
  • 6
  • 54
  • 89