Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for type(entity) in JPA #102
added a commit
Feb 23, 2012
I added the following method to JPQLGrammar which can be used for ordering on type
It is String typed, because with the Class type a ComparableExpression could not be constructed, and because type(alias) is mapped to alias.class for Hibernate which is String typed.