📄 dboutvalue.java.svn-base
字号:
package jm.framework.util;
import jm.dbo.JMDBOConntionCall;
import jm.dbo.JMDBOOutKeyValue;
import jm.dbo.JMDBOCommandKeys;
/**
* <p>Title: JM 整合Swing控件,使用配置信息</p>
*
* <p>Copyright: Copyright (c) 2004-2006</p>
*
* <p>Company: 1SHome</p>
*
* <p>@author Spook</p>
*
* @since 1.3
* @see JDK 1.5.0.6
*/
public class DBOutValue extends JMDBOOutKeyValue {
private JMDBOConntionCall conntion_ = null;
// //////////////////////////////////////////////////////////////////////////////
/**
* SQL 运行
* DBOutValue _DBOutValue = new DBOutValue();
* DBInValue _DBInValue = JMDBOConfig.getSQLDefaultInKey();
* _DBInValue.setSQLID(SQLValue.getText());
* _DBOutValue.executeSelect(_DBInValue);
* @param inValue
* DBInValue
* @return DBOutValue
* @throws Exception
*/
public synchronized void executeSelect (DBInValue inValue) throws Exception {
conntion_ = JMDBOConntionCall.getInstance();
conntion_.setSQLFree(true);
inValue.setStrType(JMDBOCommandKeys.SVC_SELECT);
// ////////////////////////////////////////////////////////////////////////
// SQL 运行
JMDBOOutKeyValue _result = conntion_.inVoker(inValue);
setResult(_result.getResult());
setResultCode(_result.getResultCode());
setResultCount(_result.getResultCount());
setResultData(_result.getResultData());
setResultMessage(_result.getResultMessage());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -