RESOLVED.

It's my bad. 
Query had enum values instead of variable names.
Exception stack trace just says NumberFormatExcpetion and doesn't say
anything about the variables/values.
I switched to Annotation and exception stack trace showed me the real error.

Eager Fetching worked both in XML and java annotations.
now I'm back to XML.

Thanks!
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/OpenJPA-MySQL-Environment-NamedQuery-always-returns-null-for-Enumerated-column-types-tp216529p5970970.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Reply via email to