Workaround for OPENJPA-2418