@ Override public < T > T retrieveBean ( T bean ) throws CpoException { return getCurrentResource ( ) . retrieveBean ( bean ) ; }
Retrieves the Bean from the datasource . The assumption is that the bean exists in the datasource . If the retrieve function defined for these beans returns more than one row an exception will be thrown .