[
https://issues.apache.org/jira/browse/DERBY-6189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636413#comment-13636413
]
Knut Anders Hatlen commented on DERBY-6189:
-------------------------------------------
The fix looks fine to me too. One small suggestion for the test:
+ try {
+ pStmtInsert.execute();
+ fail( "Should fail!" );
+ }
+ catch ( SQLException se)
+ {
+ assertEquals( "42X05", se.getSQLState() );
+ }
There's a helper method for this common pattern in the test framework:
assertStatementError("42X05", pStmtInsert);
> NPE involving temporary table and rollback
> ------------------------------------------
>
> Key: DERBY-6189
> URL: https://issues.apache.org/jira/browse/DERBY-6189
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.11.0.0
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Attachments: derby-6189-01-aa-invalidateTable.diff, DERBY_6189.java
>
>
> I will attach a repro.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira