Using MySQL by Hibernate : org.hibernate.exception.SQLGrammarException?

The problem is certainly caused by the dashes in the catalog name. Try to change the name of the catalog to something else, without dashes.

I had some similar problems because I was not using the correct dialect (MySQL Diallect). Please try to configure the hibernate. Dialect to org.hibernate.dialect.

MySQL5Dialect.

Thank you but not effective! I had seen this instruction before but the output not differs... – sajad Oct 23 at 13:15.

Use the the below HQL, String HQL = "from RssCategory" If you want all the columns as a list of Object (or partial list of items) use the below, String HQL = "select r. Prop1, r. Prop2 ... from RssCategory r.

Thank you, I tested your commands but the result was the same! – sajad Oct 23 at 13:43 1 @ManuPK : The original HQL request is perfectly fine. It's even a correct JPQL query, whereas your first one is not.

Your second one is invalid HQL. – JB Nizet Oct 23 at 13:44 @JBNizet thanks. You were right and I have modified the answer.

– ManuPK Oct 23 at 13:52 @sajad Try connecting using the SQL eqivalent like select * from table(RssCategory) to see if the results are coming. – ManuPK Oct 23 at 13:54 I tried executing 'select * from rss_category' and it was successful. – sajad Oct 23 at 14:03.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions