I'm trying to read a PostGIS geometry column and save it as a Java byte[] with hibernate.
As far as I know I should be storing it in Java the way it's represented in psql.
I manage to write it and even see it within psql but when I read it with the wkbreader - I get the following error:
com.vividsolutions.jts.io.ParseException: Unknown WKB type 48