Hibernate does not provide and Converter class/Mapper class to convert DB text[] datatype,
For this either we can write our own converted type implementing UserType or we using
sqlQuery.addScalar( "path", Hibernate.TEXT ); we can map text[] to text and then in java code we can split it from ','