robe-hibernate/src/main/java/io/robe/hibernate/dao/BaseDao.java
@SuppressWarnings("unchecked")
    public T findById(Class<? extends RobeEntity> clazz, Serializable oid) {
        return (T) currentSession().get(clazz, Preconditions.checkNotNull(oid));
    }
@SuppressWarnings("unchecked")
    public T findById(Class<? extends RobeEntity> clazz, Serializable oid) {
        return (T) currentSession().get(clazz, Preconditions.checkNotNull(oid));
    }
@ SuppressWarnings ( "unchecked" ) public T findById ( Class < ? extends RobeEntity > clazz , Serializable oid ) { return ( T ) currentSession ( ) . get ( clazz , Preconditions . checkNotNull ( oid ) ) ; }
{@inheritDoc}

@param oid id of the Given Entity
@return returns the result.
{ @inheritDoc }