com.ibm.tivoli.maximo.oslc.provider

Class SQL2Json

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.provider.SQL2Json


  • public class SQL2Json
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      SQL2Json() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static com.ibm.json.java.JSONObject toJSON(java.lang.String sql, java.sql.Connection conn) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SQL2Json

        public SQL2Json()
    • Method Detail

      • toJSON

        public static com.ibm.json.java.JSONObject toJSON(java.lang.String sql,
                                                          java.sql.Connection conn)
                                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException