| From: | Barry Lind <blind(at)xythos(dot)com> |
|---|---|
| To: | Jeremiah Jahn <jeremiah(at)cs(dot)earlham(dot)edu> |
| Cc: | David Wall <d(dot)wall(at)computer(dot)org>, postgres jdbc <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Re: create BLOB question |
| Date: | 2003-02-11 16:42:20 |
| Message-ID: | 3E4927EC.4000207@xythos.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Jeremiah Jahn wrote:
> I'm writing the BLOB wrapper.
>
> 3 methods have ambiguous implementations.
>
> public java.io.OutputStream setBinaryStream(long pos) throws SQLException{
> }
> public int setBytes(long pos,byte[] bytes) throws SQLException{
> }
> public int setBytes(long pos,byte[] bytes,int offset,int len) throws SQLException{
> }
>
> If I already have an array of data. An I start writing to it at position
> pos, does it overwrite the old data or insert into the array at that
> point and move the old data down toward the end?
>
My understanding is that it should overwrite the data at that point.
--Barry
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeremiah Jahn | 2003-02-11 17:23:33 | Re: create BLOB question |
| Previous Message | Jeremiah Jahn | 2003-02-11 15:37:22 | Re: create BLOB question |