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: USER_TABLES AND HIBERNATE 3.0.5
PostPosted: Mon Dec 11, 2006 8:05 am 
Newbie

Joined: Thu Nov 30, 2006 4:09 am
Posts: 2
Hello,

When I execute "SELECT TABLE_NAME FROM USER_TABLES" using Hibernate 3.0.5 Native SQL Query, I get this exception:

06/12/11 12:53:34 Hibernate: SELECT TABLE_NAME FROM USER_TABLES
2006-12-11 12:53:34,725 [HttpRequestHandler-11001145] WARN (JDBCExceptionReporter.java:71) - SQL Error: 17006, SQLState: null
2006-12-11 12:53:34,725 [HttpRequestHandler-11001145] ERROR (JDBCExceptionReporter.java:72) - Invalid column name
2006-12-11 12:53:34,740 [HttpRequestHandler-11001145] ERROR (MaestrasManager.java:115) - could not execute query
2006-12-11 12:53:34,756 [HttpRequestHandler-11001145] ERROR (LoadProductividadesAction.java:102) - org.hibernate.exception.SQLGrammarException: could not execute query


With Hibernate 3.2 I don't have this problem.

Thanks in advance.


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.