Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 89007 invoked from network); 14 Feb 2008 21:41:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 21:41:32 -0000 Received: (qmail 57667 invoked by uid 500); 14 Feb 2008 21:41:26 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 57644 invoked by uid 500); 14 Feb 2008 21:41:26 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 57635 invoked by uid 99); 14 Feb 2008 21:41:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 13:41:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 21:40:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A75171408B for ; Thu, 14 Feb 2008 13:41:09 -0800 (PST) Message-ID: <16055063.1203025269396.JavaMail.jira@brutus> Date: Thu, 14 Feb 2008 13:41:09 -0800 (PST) From: "Srinivasa (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Assigned: (OPENJPA-516) Exceptions when persisting Entities with fields map to NVARCHAR columns In-Reply-To: <20120922.1203022992867.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srinivasa reassigned OPENJPA-516: --------------------------------- Assignee: Srinivasa > Exceptions when persisting Entities with fields map to NVARCHAR columns > ----------------------------------------------------------------------- > > Key: OPENJPA-516 > URL: https://issues.apache.org/jira/browse/OPENJPA-516 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 1.0.0, 1.0.1, 1.0.2 > Environment: Test run on windows against Oracle > Reporter: Srinivasa > Assignee: Srinivasa > Attachments: testcase.zip > > > Attempting to persist the entity results in a SQLException. Appears that the value for the NVARCHAR column is not being set. > Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Missing IN or OUT parameter at index:: 2 {prepstmnt 22481221 INSERT INTO Holder (id, STRING_FIELD) VALUES (?, ?) [params=(long) 51]} [code=17041, state=null] > at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192) > at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57) > at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:858) > at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:269) > at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1363) > at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:97) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.