[hibernate-dev] Weekly Developer IRC Meeting - 6/7

2012-06-07 Thread Steve Ebersole
Discussion attached. We decided to handle integration between the master and metamodel branches by doing intermediate merges from master to metamodel and ultimately rebasing metamodel on top of master for the final integration. -- st...@hibernate.org http://hibernate.org [08:33] i just wante

Re: [hibernate-dev] SQLServer getLimitString() refactoring

2012-06-07 Thread Łukasz Antoniak
Hello Guenther, The following commit in general describes my thoughts: https://github.com/lukasz-antoniak/hibernate-core/commit/fa8427937f5751170714ec97ac059bee9efd8cff It probably needs some more tuning. Feel free to modify and test. I'm not sure if adding "TOP(100)PERCENT" expression would not

Re: [hibernate-dev] SQLServer getLimitString() refactoring

2012-06-07 Thread Łukasz Antoniak
Two more notes: 1. Maybe we could select columns without alias by number instead of adding "pageN" alias? Example: "SELECT rid1688_, 2, deviati16_1688_, 4, sortindex1688_ FROM query WHERE __hibernate_row_nr__ >= ? AND __hibernate_row_nr__ < ?". Will have to check if SQL Server supports such syn

Re: [hibernate-dev] SQLServer getLimitString() refactoring

2012-06-07 Thread Demetz, Guenther
Hi Łukasz, >> 1. Maybe we could select columns without alias by number instead of adding >> "pageN" alias? Yes, that would be really nice, but I really doubt if SQL Server supports such syntax in the SELECT clause. >>2. As you mentioned, AS is optional keyword. Yes, in fact pull-request 349