1,要用getCurrentSession生產的session,就必須有事務環境,意思就是你必須在調用session方法之前,session.beginTransaction();就算你只是get ...
確定! 回上一頁