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

Kathey Marsden updated DERBY-2966:
----------------------------------

    Attachment: NoConnectionBug.java

java NoConnectionBug


 UCS_BASIC collation
  Testing updateShort on SQL type SMALLINT
PASS: moveInsertRow did not cause loss of connection

[snip all ok for UCSBASIC]



 Territory no_NO
  Testing updateShort on SQL type SMALLINT
Exception in thread "main" java.sql.SQLException: No current connection.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:88)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:104)
        at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Util.java:208)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.checkExecStatus(EmbedStatement.java:1396)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1649)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeQuery(EmbedPreparedStatement.java:275)
        at 
NoConnectionBug.runTestUpdateXXXAllDataTypesInsertRow(NoConnectionBug.java:171)
        at 
NoConnectionBug.testUpdateXXXAllDataTypesInsertRow(NoConnectionBug.java:202)
        at NoConnectionBug.main(NoConnectionBug.java:110)

> rs.moveToInsertRow() causes loss of connection with TERRITORY_BASED collation.
> ------------------------------------------------------------------------------
>
>                 Key: DERBY-2966
>                 URL: https://issues.apache.org/jira/browse/DERBY-2966
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>            Priority: Critical
>         Attachments: NoConnectionBug.java
>
>
> In the attached test case, rs.moveToInsertRow()  causes loss of the 
> connection with a TERRITORY_BASED collation database. With UCS_BASIC it is 
> fine.

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

Reply via email to