Items라는 테이블이 있습니다. JSF, Hibernate
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near '?tems0_.ItemID as ItemID8_, ?tems0_.ItemGroupID as ItemGrou2_8_, ?tems0_.ItemEnt' at line 1
내가 내있는 hibernate.cfg.xml에
show_sql = true
을 썼다 : 나는은 MyEclipse에서 '최대 절전 모드 역 Enginering'을 수행하고 프로그램을 실행하려고 할 때,이 오류가 발생했습니다. 이제 SQL을 얻을 수 있지만 문제가있는 곳을 모르겠습니다. 누군가 나를 도울 수 있습니까?
그리고 이것은 콘솔에서 내 SQL입니다 :
최대 절전 모드 : 나는 'I'문자에 문제가 있다고 생각
select ıtems0_.ItemID as ItemID8_, ıtems0_.ItemGroupID as ItemGrou2_8_,
ıtems0_.ItemEnterDate as ItemEnte3_8_, ıtems0_.ItemAuthor as ItemAuthor8_,
ıtems0_.ItemTitle as ItemTitle8_, ıtems0_.ItemDetail as ItemDetail8_,
ıtems0_.ItemPic as ItemPic8_, ıtems0_.ItemMainNews as ItemMain8_8_,
ıtems0_.ItemGroup5 as ItemGroup9_8_, ıtems0_.ItemGroup10 as ItemGroup10_8_,
ıtems0_.ItemFrontpage as ItemFro11_8_, ıtems0_.ItemVisited as ItemVis12_8_,
ıtems0_.ItemProposed as ItemPro13_8_, ıtems0_.ItemVoted as ItemVoted8_,
ıtems0_.ItemScored as ItemScored8_, ıtems0_.ItemDisabled as ItemDis16_8_,
ıtems0_.ItemNewsGroup as ItemNew17_8_ from news.items ıtems0_.
가.
감사합니다.