Joined: Mon Oct 29, 2012 2:10 pm Posts: 1
|
hi
IN my organization the dba said me the problem that change in body SQL maden by Hibernate/jpa in EJB3 JBoss5. These queries are maden in "object mode" : >>> Select c from MyTableClass. <<<
In this mode HIbernate set ALIAS of column in strange mode. I have verified that is do not change at Jboss restart. I suppose thwe alias is composed by <TableCount>_<ColumnCount>
The change of alias name of queries change the impact of analisys I suppose, even the body of queries do not change.
The questions : -- What are the rules for Hibernate assign ALIAS in column of jpql query result ? -- When these values changes ?
thank you soo much
Nicola
|
|