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

2012-06-11 Thread Łukasz Antoniak
Hello Guenther, I have discussed with Strong Liu about aliases and it seems that HQL and Criteria API queries always add an alias to selected column or subquery (to @Formula expressions as well). IMO we could assume that aliases are preceded with "AS" keyword. Steve agreed to delegate binding

Re: [hibernate-dev] master->metamodel and matrix/test consolidation

2012-06-11 Thread Steve Ebersole
If I had to guess, some of the unit tests are expecting the h2 database explicitly but are relying that the system properties are set up to point to it rather than specifying those settings explicitly. On Mon 11 Jun 2012 09:29:04 AM CDT, Steve Ebersole wrote: > Not sure how else to "all tests" ;

Re: [hibernate-dev] Caching @EmbeddedId/@Embeddable instances

2012-06-11 Thread Galder Zamarreño
This can be replicated in Hibernate master. The guy had added some unit tests to the Infinispan testsuite that replicated the issue. See https://github.com/galderz/hibernate-orm/tree/t_saugat And try running org.hibernate.test.cache.infinispan.functional.cluster.NonBasicIdInvalidationTestCase

Re: [hibernate-dev] master->metamodel and matrix/test consolidation

2012-06-11 Thread Steve Ebersole
Not sure how else to "all tests" ;) On Mon 11 Jun 2012 09:14:28 AM CDT, Strong Liu wrote: > > On Jun 11, 2012, at 10:02 PM, Steve Ebersole wrote: > >> 1) `gradle test` runs all tests (there is just src/test now) against >> default database (h2) >> >> 2) `gradle matrix_XYZ` essentially runs [gradle

Re: [hibernate-dev] master->metamodel and matrix/test consolidation

2012-06-11 Thread Strong Liu
On Jun 11, 2012, at 10:02 PM, Steve Ebersole wrote: > 1) `gradle test` runs all tests (there is just src/test now) against default > database (h2) > > 2) `gradle matrix_XYZ` essentially runs [gradle test] but against the XYZ > "database profile" so, for example, those metamodel unit tests are

Re: [hibernate-dev] master->metamodel and matrix/test consolidation

2012-06-11 Thread Steve Ebersole
1) `gradle test` runs all tests (there is just src/test now) against default database (h2) 2) `gradle matrix_XYZ` essentially runs [gradle test] but against the XYZ "database profile" 3) `gradle matrix` runs all all tests against all "database profiles". It does not currently run against h2 I