JPA native query treat char as Character !!!

http://stackoverflow.com/questions/4873201/hibernate-native-query-char3-column

solution
1: use cast

cast(LAE.legalAccessEntityCode as varchar(12))
Advertisements