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.
在 .Net 中有一个 nHibernate session.QueryOver 构造。因此,可以使用对象属性来连接对象。我喜欢这种“强类型”的工作方式。
为了避免编写查询文本,
session.createQuery("from Person where name = :n ");
java Hibernate(eclipse)中的这种构造是否有替代方法?
谢谢