-->
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: Discovering Named Queries at runtime
PostPosted: Tue Aug 02, 2011 4:01 pm 
Newbie

Joined: Fri Dec 17, 2010 11:14 am
Posts: 11
Is it possible to determine what named queries exist at runtime?

We have a series of database updates we do via named queries basically stored procedures we call that have predefined names. We've run into a constraint that it looks like you can only have one stored procedure per named query. Ideally we could have more then one stored procedure per named query, but this doesn't appear possible. If we could discover named queries at runtime we wouldn't have to enumerate them for every update script we write.


Thanks for your time
Izaak


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.