HIVE-4974 - JDBC2 statements and result sets are not able to return their parents (Chris Dome via Brock Noland)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1536153 13f79535-47bb-0310-9956-ffa450edef68