I can\'t seem to get the right magic combination to make this work:
OracleDataSource ods = new oracle.jdbc.pool.OracleDataSource(); ods.setURL(\"jdbc:oracle
Try using ? instead of :rowid0 on your SQL string. I have had problems before with named parameters and Oracle.