http://rzr.online.fr/hitseek
http://rzr.online.fr/hitseek
От:
"Philippe COVAL" <pcoval@transiciel.com>
Дата:
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 To: interfaces postgres 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