EditUI中的数据库操作
金蝶云社区-jinweiwen
jinweiwen
0人赞赏了该文章 1,146次浏览 未经作者许可,禁止转载编辑于2014年08月21日 09:42:42

com.kingdee.bos.framework.ejb.AbstractEntityControllerBean 中有一个方法

protected final void innerUpdate(Context ctx, IObjectPK pk, IObjectValue model)
throws BOSException
{
Connection cn = null;
try
{
cn = getConnection(ctx);
getDAO(ctx, cn).update(pk, model);
}
finally {
SQLUtils.cleanup(cn);
}
}

怎样在客户端(EditUI)调用这个接口,达到直接操作数据库的目的?