hibernate 動態查詢(DetachedCriteria )

liubin19820808發表於2008-10-27
hibernate DetachedCriteria 多重關聯

例如:a關聯b,b又關聯c

DetachedCriteria detachedCriteria = DetachedCriteria.forClass("a");
detachedCriteria.createCriteria("b");
b怎麼與c關聯起來?

相關文章