db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-4683) NPE in parameterized INSERT/SELECT
Date Mon, 31 May 2010 17:36:40 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen closed DERBY-4683.
-------------------------------------

    Resolution: Duplicate

> NPE in parameterized INSERT/SELECT
> ----------------------------------
>
>                 Key: DERBY-4683
>                 URL: https://issues.apache.org/jira/browse/DERBY-4683
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.6.1.0
>            Reporter: Rick Hillegas
>             Fix For: 10.6.1.1
>
>
> The following script works on 10.5.3.0 but fails on 10.6.1.0. The script succeeds on
10.6.1.1, probably because of the fix for DERBY-4672.
> ij version 10.6
> ij> connect 'jdbc:derby:memory:db;create=true';
> ij> create table t
> (
>     a int not null,
>     c int
> );
> 0 rows inserted/updated/deleted
> ij> create table s
> (
>     a int not null,
>     c int
> );
> 0 rows inserted/updated/deleted
> ij> -- fails on 10.6.1.0 but succeeds on 10.5.3.0
> prepare foo as 'insert into t select ?, c from s';
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

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


Mime
View raw message