I am trying to update the table from Hibernate. My table name has the special character '@' at the beginning of the name. When I am trying to update it its giving me following error.
SEVERE: Servlet.service() for servlet [kendo] in context with path [/GanttView] threw exception [Request processing failed; nested exception is org.hibernate.QueryException: unexpected char: '@' [Update [@IS_Demand] set sel=1]] with root cause org.hibernate.QueryException: unexpected char: '@' [Update [@IS_Demand] set sel=1]
I don't want to change the name of the table in the database because then I will have to change many things. Is there any way I could access it. I tried many other combinations like
\"@IS_Demand\" or '@IS_Demand' or '[@IS_Demand]'
Anyone knows the answer?