posted 19 years ago
Sarah,
I'm kind of curious what it is you're trying to do - I know you want to make a java.sql.Array, but why? What do you intend to do with it after that?
Because Array is an interface, you'll probably need to create your own instance:
public class MyArray implements Array{
....
}
Create a constructor for this class that accepts Object[], and you've got an Array. Of course, you'll need to implement all the methods defined in the Array interface.
I hope this helps (though I suspect this isn't the answer you were looking for).