public class WorkFlowUserImpl extends HibernateDaoSupport
private JdbcTemplate jdbcTemplate;
public JdbcTemplate getJdbcTemplate() {
return jdbcTemplate;
}
public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
this.jdbcTemplate = jdbcTemplate;
}
String hql = "select t.procdefid_ from jbpm4_execution t where t.dbid_=(select tt.execution_ from jbpm4_task tt where tt.dbid_="+taskId+")";
SessionFactory sf = this.getHibernateTemplate().getSessionFactory();
Session session = sf.openSession();
List<Object[]> result = session.createSQLQuery(hql).list();
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。