I also faced a similar problem.But i was able to resolve it.
The column name in the hibernate mappping xml and the column name in the
table were different in my case.
ORA-00904: string: invalid identifier
Cause: The column name entered is either missing or invalid.
Action: Enter a valid column name. A valid column name must begin with a
letter, be less than or equal to 30 characters, and consist of only
alphanumeric characters and the special characters $, _, and #. If it
contains other characters, then it must be enclosed in double quotation
marks. It may not be a reserved word.
check out
http://ora-00904.ora-code.com/
--
View this message in context: http://www.nabble.com/createNamedQuery-error-tp22217390p24735190.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.