@Optional("-1") int dataType,
@Optional("-1") int length,
@Optional Value driverOptions)
{
if (length != -1)
throw new UnimplementedException("length");
if (!(driverOptions == null || driverOptions.isNull()))
throw new UnimplementedException("driverOptions");
if (dataType == -1)
dataType = PDO.PARAM_STR;
boolean isInputOutput = (dataType & PDO.PARAM_INPUT_OUTPUT) != 0;
if (isInputOutput) {
dataType = dataType & (~PDO.PARAM_INPUT_OUTPUT);
if (true) throw new UnimplementedException("PARAM_INPUT_OUTPUT");
}
switch (dataType) {
case PDO.PARAM_BOOL:
case PDO.PARAM_INT: