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
|