http://rzr.online.fr/hitseek
От | Philippe COVAL |
---|---|
Тема | http://rzr.online.fr/hitseek |
Дата | |
Msg-id | C12568C5.00677672.00@aphrodite.intranet.transiciel.com обсуждение исходный текст |
Список | pgsql-interfaces |
Warning : My permanent email is MailTo:PhilC@writeme.com (DO NOT USE "PCoval@transiciel.com" or any other ones, thanx) --- did u solve this problem ? if yes how ? :) thanx you binary insert with JDBC --------------------------------------------------------------------------- ----- From: Sean Reilly <sreilly@cnri.Reston.Va.US> To: interfaces postgres <pgsql-interfaces@postgreSQL.org> Subject: binary insert with JDBC Date: Mon, 11 May 1998 18:08:45 -0400 --------------------------------------------------------------------------- ----- Can anyone tell me how to insert binary data into a postgres table using JDBC? What type field should I use? Most importantly, how do I create an SQL statement with binary data? I thought this could be done with a PreparedStatement and setBytes() but it doesn't seem to be implemented in postgres.PreparedStatement. Is there some way to encode the binary value into the SQL string (like hex encoding or something)? I looked through the docs but couldn't find anything related to this, but it seems like it might be a common problem. Thanks, Sean --- Philippe COVAL - http://RzR.online.FR - MailTo:philc@writeme.com
В списке pgsql-interfaces по дате отправления: