Following is my piece of code in which I am trying to create database connectivity. Please see the comments below in the code in which I mentioned where exactly the problem is occurring. Moreover, I also mentioned one connectivity code that is working fine.Following is my piece of code in which I am try