Hibernate throws a QueryException when I use letters like "á, é, ..."
List result = sess.createQuery("FROM Bem b WHERE b.plqta ='máx' AND b.situo=2 ORDER BY b.plqta").list();
org.hibernate.QueryException: expecting ''', found 'á' [FROM com.maxiti.data.Bem b WHERE b.plqta ='máx' AND b.situo=2 ORDER BY b.plqta]
WHAT IS WRONG ?
In Hibernate 2.1.7, using session.find, this error does not occur.
Thanks,
Glauber Andrade
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel