[Hibernate] alias-mode part deux

2005-05-17 Thread Max Rydahl Andersen
Hi, Per request alias-mode is now automatically detected when using . If no alias is specified column aliases will be used instead of the generated aliases. So its now even shorter: SELECT * FROM Employment, Person To Emmanuel: I have removed the just added addEntity

[Hibernate] alias-mode

2005-05-16 Thread Max Rydahl Andersen
Hi guys, I've just committed the basic support for alias-mode which allows you to be very lazy regarding usage of native-sql queries. Before you had to do this: SELECT EMPLOYEE AS {emp.employee}, EMPLOYER AS {emp.employer}, STARTDATE