com.ziclix.python.sql.handler
Class RowIdHandler
- java.lang.Object
-
- com.ziclix.python.sql.DataHandler
-
- com.ziclix.python.sql.FilterDataHandler
-
- com.ziclix.python.sql.handler.RowIdHandler
-
- Direct Known Subclasses:
- MySQLDataHandler, PostgresqlDataHandler
public abstract class RowIdHandler extends FilterDataHandler
Handle the rowid methods since the API is not available until JDBC 3.0.
-
-
Constructor Summary
Constructors Constructor and Description RowIdHandler(DataHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PyObjectgetRowId(java.sql.Statement stmt)Return the row id of the last insert statement.-
Methods inherited from class com.ziclix.python.sql.FilterDataHandler
__chain__, getPyObject, postExecute, preExecute, setJDBCObject, setJDBCObject
-
Methods inherited from class com.ziclix.python.sql.DataHandler
checkNull, getMetaDataName, getProcedure, getPyObject, getSystemDataHandler, read, read, registerOut, toString
-
-
-
-
Constructor Detail
-
RowIdHandler
public RowIdHandler(DataHandler handler)
-
-
Method Detail
-
getRowId
public PyObject getRowId(java.sql.Statement stmt) throws java.sql.SQLException
Return the row id of the last insert statement.- Overrides:
getRowIdin classFilterDataHandler- Parameters:
stmt-- Returns:
- an object representing the last row id
- Throws:
java.sql.SQLException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG