-->
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.  [ 2 posts ] 
Author Message
 Post subject: Alias name generation and stored outlines within oracle
PostPosted: Sun Feb 18, 2007 10:07 am 
Newbie

Joined: Sun Feb 18, 2007 9:40 am
Posts: 1
Hibernate version:
3.0.5
Name and version of the database you are using:
Oracle 9

The SQL statements generated by Hibernate contain alias names for the columns consisting of some letters from the column name and three numbers. The second number differs under certain circumstances. If I change the JVM or if the generation is done inside or outside an application server, the second number changes. It also changes after some evolution on the software.

How does this alias generation work?
Is it possible to influence it, so that the generated names are always the same?

My problem is, that I have to use stored outlines within an oracle database. For these stored outlines it is necessary that the statement keeps the same, otherwise the outline is not used. I.e. if the alias name of the statement used during stored outline generation differs from the alias name during the run of the application, the stored outline is not used.

Is there a way to use Hibernate in conjunction with the stored outlines of oracle?


Top
 Profile  
 
 Post subject: Re: Alias name generation and stored outlines within oracle
PostPosted: Tue Aug 27, 2013 5:19 pm 
Newbie

Joined: Tue Aug 27, 2013 5:14 pm
Posts: 2
Does somebody get an answer for this ? The same is happening on our environment as well where it becomes difficult to stabilize the outlines as the queries keeps changing because of different aliases.


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