[ 
https://issues.apache.org/jira/browse/KARAF-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952665#comment-14952665
 ] 

Jean-Baptiste Onofré commented on KARAF-4054:
---------------------------------------------

Fixed on karaf-3.0.x: 
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=74692ad50fc6850222959220b251d0fcc2554163

> 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
>             Fix For: 3.0.6
>
>
> 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)

Reply via email to