Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHsPn-0002sj-Nb for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Dec 2016 13:19:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cHsPn-0007V1-4M for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Dec 2016 13:19:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cHp1o-0003Wm-JO for pgsql-bugs@postgresql.org; Fri, 16 Dec 2016 09:42:12 +0000 Received: from mail-yw0-x232.google.com ([2607:f8b0:4002:c05::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cHp1l-00064O-Bs for pgsql-bugs@postgresql.org; Fri, 16 Dec 2016 09:42:11 +0000 Received: by mail-yw0-x232.google.com with SMTP id i145so28607522ywg.2 for ; Fri, 16 Dec 2016 01:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obopay.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:content-transfer-encoding; bh=UvhTtV+KIuZOY4zAry6qQmonl+Ji8FhGe6hvJQ6ob1U=; b=LQ47rmdsGajGcGNC0aGhZoImjV0XzUrYtEAZ9tmGMVfxLoZ1WKfT5BXVPx8LHQXxvi iVajyZIV/DCnixtwpt8smNQlR16UF4yiip2KDKEkthK+W8Buuc68RrDTfAM6hqfwCcDA IVdxuFk8kPu/812EDEHScebrSxj0FTd9Q04Ys= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-transfer-encoding; bh=UvhTtV+KIuZOY4zAry6qQmonl+Ji8FhGe6hvJQ6ob1U=; b=Sfo4jnunyCKrh19qhVKI92VlKdkOQjgb8XIpXMrw/sB6inpAAUDvNZa9SBbDrWNoWp vBlA96dmT6hFsALz+GZi+penyaYxpuVlK/r02OhP2Dhul23U5d4R7LPqdcw9zk8a6D5J 57izvNHdQSRPLSYFs38wAf1OpmiGmf5CGA/pWtvM7hRlskXikR1DkYi+Mx3+Fjmc6oYy kuHgfYDuw/ka7Ow1aNzrC1tLr6r8HvdoIDB03ZX7RjYQU62bEBGT7vEqvp5/eZm9C4UV Ek4iwjEx4/yxARuaqZwJ0pd8oHU7lCrZkCL2KMJCtUD75V/ddMOBXQddoLyuFC7HbNg+ cnmw== X-Gm-Message-State: AKaTC01ZdqbG54PXyZtDaGJCeE8ijlNvptp56PsKj0GVwjD6xERLHsgd86/XeTgUkQJ8UlWU3sIJ+qZd5rNxXXYF9cG9hVny2K+Aw+Z3fqR71s/Mglb2zeDaOWKnjhSAOFPnK8kOxmwr1BBTgLJoNPzY X-Received: by 10.129.148.134 with SMTP id l128mr1509149ywg.260.1481881328413; Fri, 16 Dec 2016 01:42:08 -0800 (PST) From: Rahul Kumar References: <20161215102818.13333.49629@wrigleys.postgresql.org> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdJW1WB2q4icnljnTSaooHBoXsipqgABBOlgACiSD1AAAK2uUAAAd8sA Date: Fri, 16 Dec 2016 15:14:31 +0530 Message-ID: <962a0841f213add3288a2375861d9965@mail.gmail.com> Subject: Re: BUG #14467: Insertion Issue with Hibernate To: Johannes Lochmann , pgsql-bugs@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, Please find the required inputs below. a) Table creation Statement. create table customers ( CUST_ID numeric(20,0) primary key, CUST_NAME varchar(25), DEVICENUMBER varchar(12), EMAIL varchar(30), DOB timestamp(6) ); b) Hibernate generated query. Hibernate: insert into CUSTOMERS (CUST_ID, CUST_NAME, DEVICENUMBER, EMAIL, dob) values (nextval ('seq_test'), ?, ?, ?, ?) Regards, Rahul Kumar -----Original Message----- From: Johannes Lochmann [mailto:johannes.lochmann@topcontrol.it] Sent: Friday, December 16, 2016 2:57 PM To: Rahul Kumar; pgsql-bugs@postgresql.org Subject: AW: [BUGS] BUG #14467: Insertion Issue with Hibernate Hi, could you provide: a) create table statement b) the exact queries that hibernate generates? Best regards, Johannes -----Urspr=C3=BCngliche Nachricht----- Von: Rahul Kumar [mailto:rkumar@obopay.com] Gesendet: Friday, 16 December, 2016 10:09 AM An: Johannes Lochmann; pgsql-bugs@postgresql.org Betreff: RE: [BUGS] BUG #14467: Insertion Issue with Hibernate Hi, I checked. There are no such identifiers. And this issue exists only for PRIMARY KEY column. Regards, Rahul Kumar -----Original Message----- From: Johannes Lochmann [mailto:johannes.lochmann@topcontrol.it] Sent: Thursday, December 15, 2016 7:16 PM To: rkumar@obopay.com; pgsql-bugs@postgresql.org Subject: AW: [BUGS] BUG #14467: Insertion Issue with Hibernate Hi, could it be that you are using case sensitive identifiers by any chance? https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-= SYNTAX-IDENTIFIERS Best regards, Johannes ----Urspr=C3=BCngliche Nachricht----- Von: pgsql-bugs-owner@postgresql.org [mailto:pgsql-bugs-owner@postgresql.org] Im Auftrag von rkumar@obopay.com Gesendet: Thursday, 15 December, 2016 11:28 AM An: pgsql-bugs@postgresql.org Betreff: [BUGS] BUG #14467: Insertion Issue with Hibernate The following bug has been logged on the website: Bug reference: 14467 Logged by: Rahul Kumar Email address: rkumar@obopay.com PostgreSQL version: 9.3.11 Operating system: Windows XP Description: I am using PostgreSQL with Hibernate. In Hibernate Mapping file one table is configured which is present in the Database. If the name of the Primary Key column is provided in CAPITAL letters, then while insertion to that table causes issue. like : Caused by: org.postgresql.util.PSQLException: ERROR: column "CUST_ID" does not exist Other operations e.g. Retrieve, Update are working fine. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs --=20 ------------------------------ *Disclaimer : The information and any attachments contained in this message may be privileged and confidential and protected from disclosure or unauthorized use. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify us immediately by replying to this message and then delete it. All e-mail sent to this address will be received by Obopay Mobile Technology India Pvt Ltd and may be archived or reviewed. Obopay Mobile Technology India Pvt Ltd accepts no liability for any loss or damage arising from this email, any virus transmitted, or its attachments.* --=20 ------------------------------ *Disclaimer : The information and any attachments contained in this message= =20 may be privileged and confidential and protected from disclosure or=20 unauthorized use. If the reader of this message is not the intended=20 recipient, you are hereby notified that any dissemination, distribution or= =20 copying of this communication is prohibited. If you have received this=20 communication in error, please notify us immediately by replying to this=20 message and then delete it. All e-mail sent to this address will be=20 received by Obopay Mobile Technology India Pvt Ltd and may be archived or=20 reviewed. Obopay Mobile Technology India Pvt Ltd accepts no liability for= =20 any loss or damage arising from this email, any virus transmitted, or its=20 attachments.* --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs