openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivasa (JIRA)" <>
Subject [jira] Created: (OPENJPA-516) Exceptions when persisting Entities with fields map to NVARCHAR columns
Date Thu, 14 Feb 2008 21:03:12 GMT
Exceptions when persisting Entities with fields map to NVARCHAR columns

                 Key: OPENJPA-516
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 1.0.2, 1.0.1, 1.0.0
         Environment: Test run on windows against Oracle
            Reporter: Srinivasa

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(
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(
        at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(
        at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(
        at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message