As far as I know, what you are trying to do is not supported by Oracle's JDBC driver.
Instead of a record, you may be able to define some object type -- and that (I think) is supported. Again, the sample code available (from the above Web page) illustrates how to do this (if I remember correctly).
Good Luck, Avi.
The only cure for that is hours of television radiation. And this tiny ad: