Replacement for WebObjects EOF, based on JPA 2.1