Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 9A7BFDA6299 for ; Wed, 1 Aug 2012 09:47:28 -0300 (ADT) Received: from ponto.amerinoc.com ([64.6.108.239]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SwYKj-0003xo-E4 for pgsql-jdbc@postgresql.org; Wed, 01 Aug 2012 12:47:27 +0000 Received: from fbsd8.localdomain (205.83.broadband7.iol.cz [88.102.83.205]) (authenticated bits=128) by ponto.amerinoc.com (8.14.5/8.14.5) with ESMTP id q71Cl8HH026561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Aug 2012 14:47:12 +0200 (CEST) (envelope-from hsn@filez.com) Received: from [127.0.0.1] ([10.0.0.1]) by fbsd8.localdomain (8.14.5/8.14.5) with ESMTP id q71Cl3Wx001203 for ; Wed, 1 Aug 2012 14:47:03 +0200 (CEST) (envelope-from hsn@filez.com) Message-ID: <50180B58.3020102@filez.com> Date: Tue, 31 Jul 2012 18:44:08 +0200 From: Radim Kolar User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 CC: pgsql-jdbc@postgresql.org Subject: Re: Search path in connection string References: <023a01cd6eb5$32a1e8a0$97e5b9e0$@yahoo.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 120801-0, 01.08.2012), Outbound message X-Antivirus-Status: Clean X-Pg-Spam-Score: 2.1 (++) X-Archive-Number: 201208/2 X-Sequence-Number: 23157 Dne 31.7.2012 16:03, Valentine Gogichashvili napsal(a): > Note that JDBC driver for now does not support search_path at all, as > the OID cache lookup is not taking it into an account. So prepare for > some crazy problems when for example returning a type that exists in > several schemas with the same name. This most likely explains while hibernate is going wild if table exists in multiple schemas, from my observation it seems that schema is picked at random.