public < V > V executeAndFetchFirst ( Class < V > returnType ) { Object o = executeScalar ( ) ; if ( null == o ) { return null ; } return convert ( o , returnType ) ; }
Execute the statement and return only the first record from the result set .