db-derby-user mailing list archives

I guess preparedStatement() was the answer.
/Sam
On Jun 5, 2005, at 12:24 PM, Samuel Meder wrote:
> I'm at a loss for how to actually drive a insert of a row that
> contains a value of type VARCHAR FOR BIT DATA. Things I have tried
> so far:
>
> INSERT INTO table VALUES ('my bitstring')
> INSERT INTO table VALUES (my bitstring)
> INSERT INTO table VALUES (X'my bitstring')
>
> and various combinations with CAST. No of these work, so does
> anyone have an example of how to actually do this?
>
> /Sam
>
>