-->
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.  [ 4 posts ] 
Author Message
 Post subject: Which privileges to retrieve table meta data from oracle?
PostPosted: Wed Jul 23, 2008 11:11 am 
Newbie

Joined: Fri Mar 14, 2008 4:20 am
Posts: 17
Hello,

which privileges are necessary for hibernate to retrieve the table meta data from an Oracle 10g database?

Kind regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 25, 2008 3:36 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
To read data you need read rights.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 28, 2008 9:57 am 
Newbie

Joined: Fri Mar 14, 2008 4:20 am
Posts: 17
Hello Cameron,

I granted select on the tables I use but I get an error-message when hibernate starts up if I set hbm2ddl.auto to update. The message says that hibernate is unable to read the metadata for that table. Unfortunately I don't know which privileges are necessary to read the table-metadata.

Btw:
Code:
desc tablename
works fine for my table.

Thanks


Top
 Profile  
 
 Post subject: Re: Which privileges to retrieve table meta data from oracle?
PostPosted: Thu Aug 27, 2009 10:34 am 
Newbie

Joined: Fri Mar 14, 2008 4:20 am
Posts: 17
It works after granting the "ANALYSE ANY" system prifilege to my database user.


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

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.