Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.0.3
Name and version of the database you are using: DB2 8.1
The generated SQL (show_sql=true):
[5/10/05 10:09:34:628 EDT] 7fc259d5 SystemOut O Hibernate: /*criteria query*/select this_.CONFIG_ID as CONFIG1_0_, this_.CONFIG_KEY as CONFIG2_7_0_, this_.CONFIG_VALUE as CONFIG3_7_0_ from README.CONFIG this_ where this_.CONFIG_KEY=?
[5/10/05 10:09:34:688 EDT] 7fc259d5 JDBCException W org.hibernate.util.JDBCExceptionReporter SQL Error: -99999, SQLState: S1000
[5/10/05 10:09:34:698 EDT] 7fc259d5 JDBCException E org.hibernate.util.JDBCExceptionReporter [IBM][JDBC Driver] CLI0637E QUERY cannot be found.
When I add
property name="use_sql_comments">true</property> to my hibernate.cfg.xml file I get the above error. However, when I remove it everything works fine. Does anyone knows why is that?