Fixed issue #14
Merge pull request #21 from ActiveJpa/jpa2.1

Fixed issue #14