Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.0alpha
Name and version of the database you are using:
table user (UserVO)
{
nvarchar id
nvarchar country_code
}
table country (CountryVO)
{
nvarchar country_code
nvarchar country_name
}
How can I construct the Hibernate Criterial Query for below statement
select u.id, u.country_code, c.country_name
from user u, country c
where u.country_code = c.country_code;
Should I add extra field like country_name to UserVO
Thanks