-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: CLI0637E QUERY cannot be found & use_sql_comments
PostPosted: Tue May 10, 2005 10:12 am 
Beginner
Beginner

Joined: Wed Jul 21, 2004 8:12 pm
Posts: 35
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.