当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
JDBCInitCommand (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.ejb.plugins.jaws.jdbc
Class JDBCInitCommand
java.lang.Object
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
org.jboss.ejb.plugins.jaws.jdbc.JDBCUpdateCommand
org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand
- All Implemented Interfaces:
- JPMInitCommand
- public class JDBCInitCommand
- extends JDBCUpdateCommand
- implements JPMInitCommand
JAWSPersistenceManager JDBCInitCommand
- Version:
- $Revision: 1.19.4.2 $
Revisions:
20010621 danch:
- merged patch from David Jenks - null constraint on columns.
- fixed bug where remapping column name of key field caused an invalid
PK constraint to be build.
20010812 vincent.harcq@hubmethods.com:
- Get Rid of debug flag, use log4j instead
- Correct pk-constraint to not only work when PK class is primitive
- Author:
- Rickard 脰berg, Marc Fleury, Joe Shevland, Justin Forder, Michel de Groot, David Jencks, danch (Dan Christopherson
- See Also:
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand |
getCMPFieldValue, getConnection, getJawsCMPFieldJDBCType, getJDBCType, getJDBCTypeName, getName, getPkColumnList, getPkColumnWhereList, getPkFieldValue, getResultObject, getResultObject, getSQL, getState, isBinaryType, jdbcExecute, setCMPFieldValue, setParameter, setParameters, setPrimaryKeyParameters, setSQL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCInitCommand
public JDBCInitCommand(JDBCCommandFactory factory)
execute
public void execute()
throws Exception
- Specified by:
execute
in interface JPMInitCommand
- Throws:
Exception
handleResult
protected Object handleResult(int rowsAffected,
Object argOrArgs)
throws Exception
- Description copied from class:
JDBCUpdateCommand
- Handle the result of successful execution of the update.
- Specified by:
handleResult
in class JDBCUpdateCommand
- Parameters:
argOrArgs
- argument or array of arguments passed in from
subclass execute method.
- Returns:
- any result needed by the subclass
execute
.
- Throws:
Exception
- if result handling fails.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.