0 Replies Latest reply on Dec 15, 2009 6:17 AM by Amit Gadkari

    Extending JDBC service to take password and userid

    Amit Gadkari Level 1

      Current JDBC component does not take userid and password for creating datasource connection.

      Hence I am creating Custom JDBC Component.

      I am trying to embedd adobe-jdbc-dsc.jar file in my custom component.

      I want to re-use following editor and beans populated by these editors.

       

        <editor id="com.adobe.idp.dsc.jdbc.editor.xml.XmlDocumentInfoEditor">
         <description>Custom editor for creating XML document info bean</description>
         <ui-component-class type="eclipse">com.adobe.idp.dsc.jdbc.editor.xml.XmlDocumentInfoEditor</ui-component-clas s>
         <configuration-type>com.adobe.idp.dsc.jdbc.bean.XmlDocumentInfoBean</configuration-type>
        </editor>


        <editor id="com.adobe.idp.dsc.jdbc.editor.sql.SqlStatementInfoEditor">
         <description>Custom editor for creating SQL statement info bean</description>
         <ui-component-class type="eclipse">com.adobe.idp.dsc.jdbc.editor.sql.SqlStatementInfoEditor</ui-component-cla ss>
         <configuration-type>com.adobe.idp.dsc.jdbc.bean.SqlStatementInfoBean</configuration-type>
        </editor>

       

      These editors will return com.adobe.idp.dsc.jdbc.bean.SqlStatementInfoBean class and com.adobe.idp.dsc.jdbc.bean.XmlDocumentInfoBean.

      I want more information on above, what values will be populated inside SqlStatementInfoBean and XmlDocumentInfoBean?

       

      Can I extend com.adobe.idp.dsc.jdbc.JDBCService class provided by adobe?

      I want more documentation about above classes and how to extend JDBC service provided by Adobe.