-->
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: org.hibernate.exception.SQLGrammarException: could not load
PostPosted: Mon Jun 14, 2010 6:48 pm 
Newbie

Joined: Mon Jun 14, 2010 6:39 pm
Posts: 2
I am getting a

org.hibernate.exception.SQLGrammarException: could not load an entity: [br.unimed.entity.Usuarios#2].

4275 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: a tabela or view does not exist

But the strange is that the table is there. I thought could be the user permissions but when I do a hibernate.show_sql=true and I run the generated sql on the plsql I get no error.

It is ok.

The code is ok because I have got that same code in other server. I have just changed the Oracle server but created the same user with the same permissions.

Can anyone help me. 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.