pd = (ProcessDefinitionVersionDAO)ConnectiveDAO.createDAOImpl(tc, "select * from bpm_procdefver where defid=?defid and ver = ?ver", ProcessDefinitionVersionDAO.class);
pd.setDefId(id);
pd.setVer(version);
pd.select();
ArrayList proxyList = new DAO2ArrayListAdapter(pd);
pd.getImplementationObject().setTableName("BPM_PROCDEFVER");
pd.getImplementationObject().setKeyField("DEFVERID");
tc.addTransactionListener(new TransactionListener(){