Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 2 个表 p,q 我正在尝试使用 ID 加入它。在 createCriteria.list() 中使用 createAlias
请告诉我加入的正确语法。
请阅读此内容。寻找别名
http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/querycriteria.html#querycriteria-projection