Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A7C718AEF for ; Mon, 12 Oct 2015 04:41:05 +0000 (UTC) Received: (qmail 90202 invoked by uid 500); 12 Oct 2015 04:41:05 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 90173 invoked by uid 500); 12 Oct 2015 04:41:05 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 90162 invoked by uid 99); 12 Oct 2015 04:41:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2015 04:41:05 +0000 Date: Mon, 12 Oct 2015 04:41:05 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-4054) Impossible to execute SELECT using JMX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4054?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-4054: ---------------------------------------- Fix Version/s: 3.0.6 > Impossible to execute SELECT using JMX > -------------------------------------- > > Key: KARAF-4054 > URL: https://issues.apache.org/jira/browse/KARAF-4054 > Project: Karaf > Issue Type: Bug > Components: karaf-jdbc > Affects Versions: 3.0.4 > Reporter: Sergey=20 > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > Fix For: 3.0.6 > > > Got an exception: > javax.management.MBeanException: Argument's element itemNames[0] cannot b= e an empty string. > =09at org.apache.karaf.jdbc.internal.JdbcMBeanImpl.query(JdbcMBeanImpl.ja= va:162) > =09at Proxy3198a962_df91_41cc_988d_5f1e4f6da538.query(Unknown Source) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > Probably because column label is empty for select DB_NAME() query (MS SQL= ). select DB_NAME() AS DB works fine. -- This message was sent by Atlassian JIRA (v6.3.4#6332)