[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBMESSAGING-1048 - DB2, an enterprise level DB! :-)

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Aug 26 14:27:51 EDT 2008


I was  surprised  (but not too much) that DB2 ignores the semantics on Null fields for Blobs on JDBC.

Phillip Thurmond has done some tests, and he had to replace ps.setNull by ps.setBinaryStream(null). It seems this has no implications on the other DBs, as the other DBs are also understanding ps.setbinaryStream(nulll).

Because of that, Phillip has submitted a patch where he is changing how we set Null fields on Blobs. It's just a small change but it requires testing on all the other Databases.

Also, Phillip's patch also contains a tested DB2 persistence file.


(Man.. I really wish for JB2)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172681#4172681

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172681



More information about the jboss-dev-forums mailing list