X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BD55DD8D6E for ; Thu, 15 Sep 2005 14:31:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88424-04 for ; Thu, 15 Sep 2005 17:31:02 +0000 (GMT) Received: from smtp05.web.de (smtp05.web.de [217.72.192.209]) by svr1.postgresql.org (Postfix) with ESMTP id 57571D8FBF for ; Thu, 15 Sep 2005 14:31:01 -0300 (ADT) Received: from [83.169.167.239] (helo=SVENLAPTOP) by smtp05.web.de with asmtp (WEB.DE 4.105 #317) id 1EFxZd-00021D-00 for pgsql-jdbc@postgresql.org; Thu, 15 Sep 2005 19:31:01 +0200 From: =?iso-8859-1?Q?Sven_H=FCtten?= To: Subject: Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler {0} beim Senden an das Backend Date: Thu, 15 Sep 2005 19:31:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <0C1E36FD-4C07-42D6-A0ED-5DA0C6DF28CF@fastcrypt.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcW6Aaz+WelOEkuTQR6Xpclhk7784wAGVKfg Message-Id: X-Sender: sven.huetten@web.de X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.966 required=5 tests=[WEIRD_QUOTING=1.966] X-Spam-Level: * X-Archive-Number: 200509/64 X-Sequence-Number: 13849 =20 We build querys dynamicly (mapping) with the information of the = metadatas in our framework. Here are the important sql-commands to insert a data row in our = framework: Statement stmt =3D connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CO= NCU R_READ_ONLY); ... DatabaseMetaData metaData =3D connection.getMetaData(); .... ResultSet result =3D metaData.getColumns("",schema,table,""); .... PreparedStatement ps =3D dbConnection.prepareStatement(dynamicQuery); ... ParameterMetaData meta =3D ps.getParameterMetaData(); ... dbConnection.executePreparedStatement(ps); ... stmt.close(); Sven H=FCtten -----Urspr=FCngliche Nachricht----- Von: pgsql-jdbc-owner+M13848@postgresql.org [mailto:pgsql-jdbc-owner+M13848@postgresql.org] Im Auftrag von Dave = Cramer Gesendet: Donnerstag, 15. September 2005 16:27 An: Sven H=FCtten Cc: pgsql-jdbc@postgresql.org Betreff: Re: [JDBC] org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler {0} beim Senden an das Backend Hi, Can you tell us what the program is doing when it does this? What is it attempting to execute ? Dave On 15-Sep-05, at 10:12 AM, Sven H=FCtten wrote: > > Hello Postgresql Friends, > > i have a problem with postgresql 8.0.3. My Application use the=20 > function getColumns of DatabaseMetaData. When i start the application=20 > the function will go for some times, but the the function produces=20 > errors. Here my Stacktrace. I have no idea. With SAPDB my program is=20 > ok. > > > org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler {0} beim =20 > Senden an > das Backend. > at > org.postgresql.core.v3.QueryExecutorImpl.execute=20 > (QueryExecutorImpl.java:201) > > at > org.postgresql.jdbc2.AbstractJdbc2Statement.execute=20 > (AbstractJdbc2Statement.j > ava:389) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags=20 > (AbstractJdbc2St > atement.java:314) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery=20 > (AbstractJdbc2Statem > ent.java:221) > at > org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getMaxNameLength=20 > (Abstract > Jdbc2DatabaseMetaData.java:81) > at > org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getColumns=20 > (AbstractJdbc2D > atabaseMetaData.java:2382) > > > ---------------------------------------------------------------- > My code: > > DatabaseMetaData metaData =3D connection.getMetaData(); > ResultSet result =3D metaData.getColumns("",schema,table,""); > > > Has anybody a solution for my problem? > > Best regards > > Sven H=FCtten > > > ---------------------------(end of =20 > broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > > ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly