Since at version 8.3 postgres has had the lo extension. This adds a type lo as an alias for oid. This should be added to PostgreSQL9Dialect (or a new PostgreSQL83Dialect).
this.registerColumnType(Types.BLOB, "lo");