Java Database

I have to store a class in a blob in a db2 database. When the blob is modified, the changes are appended to the blob and timestamped. Any help????
Thanks.

Comments

  • : I have to store a class in a blob in a db2 database. When the blob is modified, the changes are appended to the blob and timestamped. Any help????
    : Thanks.
    :

    Hi,

    I think this should not be a problem. There's a java interface to access databases via odbc called JDBC.
    Once connected to your DB2 you can get your BLOB as a stream via SQL. Modify the stream as desired and write it back (again via SQL). This should not be too complicated.

    Have a look at
    [code]
    http://industry.java.sun.com/products/jdbc/drivers
    [/code]

    Greetings moo

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion