public T getObject ( Connection conn , DataObject object ) throws Exception { return executeSelect ( conn , object , new ResultSetMapper < SingleObjectCollector < T > > ( new SingleObjectCollector < T > ( ) ) ) . value ; }
Executes the query and returns the first row of the results as a single object .