1. Reference
Sample {{{
Query query = session.createQuery("from Stock where stockCode = :code "); query.setParameter("code", "7277"); List list = query.list();
}}}
http://www.mkyong.com/hibernate/hibernate-query-examples-hql/
2. office
http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/queryhql.html
沒有留言:
張貼留言