番茄CC蛋 2012-04-06 10:55
浏览 229
已采纳

怎么把sql转换成HQL

select t.*, t.rowid,p.account_title_name from account_title t,account_title p where t.parent_account_title =p.account_title_id

  • 写回答

1条回答 默认 最新

  • canyoufeel75 2012-04-06 12:57
    关注

    其实写法类似

    sql :select * from table名字
    hql : select * from 是类名,不是表名

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?