Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W4sH6-00016i-2E for pgsql-jdbc@arkaria.postgresql.org; Sun, 19 Jan 2014 13:18:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W4sH5-0004Lu-C8 for pgsql-jdbc@arkaria.postgresql.org; Sun, 19 Jan 2014 13:18:51 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W4sH4-0004Ln-BW for pgsql-jdbc@postgresql.org; Sun, 19 Jan 2014 13:18:50 +0000 Received: from prod2.officenet.no ([195.159.87.246]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W4sEw-0006qT-Kk for pgsql-jdbc@postgresql.org; Sun, 19 Jan 2014 13:16:41 +0000 Received: from localhost ([127.0.0.1] helo=prod2) by prod2.officenet.no with esmtp (Exim 4.76) (envelope-from ) id 1W4sCs-0002cC-5G for pgsql-jdbc@postgresql.org; Sun, 19 Jan 2014 14:14:30 +0100 Date: Sun, 19 Jan 2014 14:14:29 +0100 (CET) From: Andreas Joseph Krogh To: PostgreSQL JDBC Message-ID: Subject: Will Connection.createBlob be implemented any time soon? MIME-Version: 1.0 X-Mailer: OfficeNet Mail 1.9.0-SNAPSHOT X-Pg-Spam-Score: 0.3 (/) Content-Type: multipart/alternative; boundary="----=_Part_42_615500041.1390137269702" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org ------=_Part_40_415506035.1390137269690 Content-Type: multipart/related; boundary="----=_Part_41_1940593848.1390137269690" ------=_Part_41_1940593848.1390137269690 Content-Type: multipart/alternative; boundary="----=_Part_42_615500041.1390137269702" ------=_Part_42_615500041.1390137269702 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable $subject =C2=A0 It'd be nice to be able to do: =C2=A0 =C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 val b =3D=20 con.createBlob() =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0val os =3D b.setBinaryStream(1) =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0IOUtils.copyLarge(is, os, new Array[Byte](1024 * 1024)) =C2=A0 Is=20 there a work-around for it? =C2=A0 -- Andreas Joseph Krogh =C2=A0 =C2=A0 =C2=A0 mob: +47 9= 09 56 963 Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no Public key: http://home.officenet.no/~andreak/public_key.asc ------=_Part_42_615500041.1390137269702 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
$subject
=C2=A0
It'd be nice to be able to do:
=C2=A0
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0 val b =3D con.createBlob()
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0val os =3D b.setBinaryStream(1)
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0IOUtils.copyLarge(is, os, new Array[Byte](1024 * 1024))
=C2=A0
Is there a work-around for it?
=C2=A0
--
Andreas Joseph Krogh <andreak@officenet.no>=C2=A0 =C2=A0 =C2=A0 mob: = +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no Public key: http://home.officenet.no/~andreak/public_key.asc
------=_Part_42_615500041.1390137269702-- ------=_Part_41_1940593848.1390137269690-- ------=_Part_40_415506035.1390137269690--