public < E , ID > E findById ( final Class < E > entityType , final ID id ) { return query ( dbOom . entities ( ) . findById ( entityType , id ) ) . autoClose ( ) . find ( entityType ) ; }
Finds single entity by its id .