I've had issues with eclipse not refreshing the class files after enhancement. It might be worth manually refreshing your project by clicking your project and hitting F5 before running your test case to make sure the enhanced class files are loaded by eclipse.
-- View this message in context: http://openjpa.208410.n2.nabble.com/ArgumentException-calling-entityManager-createQuery-but-enhancer-has-been-run-tp7349037p7351472.html Sent from the OpenJPA Users mailing list archive at Nabble.com.