Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4054

Impossible to execute SELECT using JMX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.4
    • 3.0.6
    • karaf
    • None

    Description

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            cp123 Sergey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: