-->
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.  [ 3 posts ] 
Author Message
 Post subject: Please help me in accessing all table names from database.
PostPosted: Mon May 15, 2006 2:50 am 
Newbie

Joined: Wed May 10, 2006 5:34 am
Posts: 7
Hi all,
I wants to list all the table names from a database.I worked out with sql queries,but its giving 2 types of error as unsupportedoperation exception for using iterator and also AddEntity()/sclar() operation.
Please help me to overcome this problem.
Regards,
chimtu


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 3:56 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
session.connection().getMetaData().getTables(....)

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject: how to access all table
PostPosted: Thu May 18, 2006 2:57 am 
Newbie

Joined: Wed May 10, 2006 5:34 am
Posts: 7
Hial,
Thanks for your help i did it..
thanks once again..
regards,
chimtu


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.