server « Query « JPA Q&A





1. SELECT FOR UPDATE with MS SQL Server    forum.hibernate.org

2. HQL query creates invalid SQL for MS SQL Server    forum.hibernate.org

Hi, The legacy MS SQL database I'm using has column names with all sorts of punctuation (even %). When I used hbm2java and Middlegen they seem to handle the punctuation by enclosing the field names in square brackets. When I try to run a HQL query the SQL generated by Hibernate is not valid for MS SQL. The fields are not ...