You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/10/12 06:28:05 UTC

[jira] [Assigned] (KARAF-4054) Impossible to execute SELECT using JMX

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

Jean-Baptiste Onofré reassigned KARAF-4054:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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 
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> Got an exception:
> javax.management.MBeanException: Argument's element itemNames[0] cannot be an empty string.
> 	at org.apache.karaf.jdbc.internal.JdbcMBeanImpl.query(JdbcMBeanImpl.java:162)
> 	at Proxy3198a962_df91_41cc_988d_5f1e4f6da538.query(Unknown Source)
> 	at 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)