Expand my Community achievements bar.

Extending JDBC service to take password and userid

Avatar

Former Community Member

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-class>
   <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-class>
   <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.

0 Replies