From derby-dev-return-98047-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Mon Sep 24 17:47:08 2012 Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D374CDE82 for ; Mon, 24 Sep 2012 17:47:08 +0000 (UTC) Received: (qmail 77882 invoked by uid 500); 24 Sep 2012 17:47:08 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 77833 invoked by uid 500); 24 Sep 2012 17:47:08 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 77557 invoked by uid 99); 24 Sep 2012 17:47:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 17:47:07 +0000 Date: Tue, 25 Sep 2012 04:47:07 +1100 (NCT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <1645775006.117488.1348508827995.JavaMail.jiratomcat@arcas> In-Reply-To: <1644533331.102159.1348144210677.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (DERBY-5933) SQL sorting error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-5933: --------------------------------- Attachment: 5933.log > SQL sorting error > ----------------- > > Key: DERBY-5933 > URL: https://issues.apache.org/jira/browse/DERBY-5933 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.0.2.1, 10.1.1.0, 10.2.1.6, 10.3.1.4, 10.4.1.3, 10.5.1.1, 10.6.1.0, 10.7.1.1, 10.8.1.2, 10.9.1.0 > Environment: Windows 7 Netbeans JDBC GUI > Reporter: Vlasov Igor > Labels: derby_triage10_10 > Attachments: 5933.log, Helpdesk.zip, repro.sql, right_sorting.png, wrong_sorting.png > > > Hello > I have a simple database with 100 records. > I am running a SQL query from Netbeans GUI though JDBC > This query was generated by Hibernate ORM. > In certain circumstances the result rowset is not sorting. > When I use condition morefld2_.mf_id in (5) the result is unsortable. > When I use condition morefld2_.mf_id in (5,0) the result is sorting properly. > > -- 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