I don't think there is a file/class that makes direct call to database. In fact, the classes make use of available remote API methods, so you can only see the implementation of those.
See the example code for SOAP here - https://developer.atlassian.com/display/JIRADEV/Creating+a+JIRA+SOAP+Client
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot