1. NHibernate and MySql Keywords stackoverflow.comWhy Nibernate HQL can not handle the following query:
knowing that INTERVAL and YEAR ... |
2. Generated SQL contains MySQL keyword forum.hibernate.orgUnfortunatly I'm having a problem with Hibernate that I cannot find in the documentation or forums. I have a table in MySQL which holds a column which is named 'fulltext'. When hibernate generates the SQL for my query the following SQL is generated: select content0_.fulltext as fulltext ... however 'fulltext' is considered as a KEYWORD in MySQL. How can I get ... |
3. mysql AGAINST keyword forum.hibernate.orgHibernate version: 3.0 Full stack trace of any exception that occurs: [SELECT new Ad (ad.id, ad.date, ad.showImage, ad.headline, ad.region, ad.category, ad.price) FROM com.buysell.server.model.Ad ad WHERE MATCH (maintext,headline) AGAINST ('(searchwords )' IN BOOLEAN MODE) AND ad.status = '1' AND ad.buysell = '2' order by ad.date desc]; nested exception is org.hibernate.hql.ast.QuerySyntaxError: unexpected token: AGAINST near line 1, column 161 [SELECT new Ad (ad.id, ... |