如何在标准hibernate中转换以下SQL查询

时间:2014-02-10 10:44:48

标签: hibernate

SELECT N.NATIONALITY_ID,N.CODE,N.NAME, N.BILINGUALNAME, N.ISACTIVE,
       to_char(N.MODIFIED_DATE, 'YYYY-MM-DD HH24:MI:SS') as MODIFIED_DATE, U.LOGINID  
FROM DBD.TBL_NATIONALITY N,DBD.TBL_USER_INFO U 
WHERE N.MODIFIED_BY=U.USERID 
ORDER BY N.NAME,NATIONALITY_ID

0 个答案:

没有答案