@SuppressWarnings({"unchecked"})
	public <E> E findOne(final Object criteria) {
		return (E) query(dbOom.entities().find(criteria)).autoClose().find(criteria.getClass());
	}
@SuppressWarnings({"unchecked"})
	public <E> E findOne(final Object criteria) {
		return (E) query(dbOom.entities().find(criteria)).autoClose().find(criteria.getClass());
	}
@ SuppressWarnings ( { "unchecked" } ) public < E > E findOne ( final Object criteria ) { return ( E ) query ( dbOom . entities ( ) . find ( criteria ) ) . autoClose ( ) . find ( criteria . getClass ( ) ) ; }
Finds one entity for given criteria.
Finds one entity for given criteria .