-->
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: Accessing columns by name not index
PostPosted: Tue Oct 11, 2005 4:24 pm 
Newbie

Joined: Tue Oct 11, 2005 4:11 pm
Posts: 1
Hibernate version: 2.1

Why is hibernate accessing the column data reference by column name? If hibernate knows all the columns, tables, and relationships... If hibernate is generating the SQL, then why is it not accessing the columns by index?

EG. My case: there are 60-70 columns from a 14 table join. referencing the columns by name to generate the data classes is causing String.equalsIgnoreCase to be called 1.8 million times! This is taking 25 seconds.

It seems to me that if hibernate were to use column index instead of column names, well, the time would be cut to nearly 0. This performance would be ideal.

Can someone explain this? Am i missing something? Is this fixed in 3.0? Will this be fixed?

Thank you,

Brad


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.