kripa,
In a MySQL 5.0 environment where a column is defined as 'BLOB', mapping to a variable of type 'document' works predictably with the MySQL 5.1.6 connector. I do not have an Oracle instance available unfortunately.
Have you tried doing an insert from Workbench or externally through Java? It might help diagnose.
Steve