How can i fetch data from multiple tables in a database (mysql) using hibernate... Can any o开发者_JS百科ne help me out in this regard... a sample example will be of great help, if possible.
Thanks. Uday.
You could possibly use some custom sql to pull from the two tables and then map the output of that to the entity in question.
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/querysql.html#querysql-creating
精彩评论