[hibernate-dev] Re: regarding more human-friendly table alias

2020-08-26 Thread Nathan Xu
I simply gave an example that some existing tool or algorithm could be used. Obviously it cannot be based on single heuristics and it is definitively a highly experimental endeavour. The applicability of huffman encoding is as following: 1. list all the involved tables with their frequency in

[hibernate-dev] Re: regarding more human-friendly table alias

2020-08-26 Thread Sanne Grinovero
Hi Nathan, this sounds worthwhile to me at a high level, but I'm not sure about us being able to implement a reasonable heuristic. In particular, the mentioned "huffman encoding" doesn't sound like an improvement over the current strategy? I suppose you're not referring to the compression

[hibernate-dev] regarding more human-friendly table alias

2020-08-26 Thread Nathan Xu
My point might have been discussed previously. I beg your pardon if my message bothers you. As everybody knows, Hibernate will create very terse and mystic table alias. I often feel frustrated by them when trying to read the SQL Hibernate has produced. There must be many thoughts behind its