-->
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: Queries AS clause changing for different runs
PostPosted: Sun Feb 21, 2010 8:14 am 
Newbie

Joined: Sat Feb 20, 2010 11:33 pm
Posts: 1
Hi,
The queries getting generated differ only in the AS clause. Two examples are given below.

First Time:
----------
select addr.street_address as street_address_01, .... from address addr where ......

Second Time:
-------------
select addr.street_address as street_address_02, .... from address addr where ......

In the above queries if you notice for the second run the query changed only by the AS clause from street_address_01 to street_address_02. The query generated is very large but for simplicity I have shortend it.

Is there a way to ensure that the queries generated remains the same at all times?

Thanks & Regards,
Rajeev


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.