Hi,

> Well, I wonder if it can work, I could find no way in the jdbc spec to
> create a new blob!  So maybe you could read the picture but I 
> don't know
> how JAWS could insert a new row.  I hope I'm wrong, please 
> tell me how.

Well... In case of Firebird 0.9.4 + InterClient 1.6 this works for me. I
just have a mapping java.lang.Object -> BLOB -> BLOB and its works fine.

I have find no createBlob() method in JDBC specs, but nobody prevents

st = con.prepareStatement("INSERT INTO (blobcol) VALUES(?)");
st.setBytes(myBlobData);

to work correctly (and because this works in case of InterClient's
implementation I believe that JAWS uses this way of setting BLOB data).

And I completely agree with you that this behaviour is completely
implementation dependent, so one have to check it before using in live
configuration.

Regards,
Roman.

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to