public E findById ( ID id ) { LOG . trace ( "Finding " + entityClass . getSimpleName ( ) + " with ID " + id ) ; return ( E ) getSession ( ) . get ( entityClass , id ) ; }
Return the real object from the database . Returns null if the object does not exist .