
In join sample program, what do we mean by the line?
String sql_query = "from Product p inner join p.dealer as d";
what does it mean? Product p inner join p.dealer as d

Hello Friend,
The query is incomplete.
Here is a complete query:
String sql_query = "select d.name,p.name,sum(p.price) as totalprice from Product p join p.dealer d group by p.name";
For more information, visit the following link:
Thanks

Hai,
The query you have given was the plain old sql query, the query i have given was HQL query. **Product p inner join p.dealer as d** what is the meaning of the above line
:)
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.