|
To give some more details, there are two modules in the parser project:
-
hibernate-hql-parser (core, SPI)
-
hibernate-hql-lucene (SPI implementation which creates queries for Lucene via HSearch)
So another idea would be to (temporarily) only depend on the latest hibernate-hql-parser release (so we get the ORDER BY support in the SPI) and have a copy of the Lucene/HSearch based parser implementation in OGM based on HSearch 4 instead of 5. This would avoid any down-grading of functionality in the parser project and give us what we need, at the price of some temporary redundancy. Once OGM is on 5, we can get rid of our own SPI implementation and again use the one from hibernate-hql-lucene.
|