We're updating the issue view to help you get more done. 

Postgresql @Lob problem

Description

The current version of Hibernate (Beta) wrongly reads PgSQL blob values (mapped from @Lob byte[]). In general Hibernate properly creates OID type columns for storing blobs, but when it read blob it reads oid value instead of LOB referenced by oid valu (so as the output i get 6 bytes length table instead of 120kb table) This works fine in previous release 3.3 / 3.2.

This was I saw is: previous version uses getBlob(), but 3.5 version uses getBytes() of resultset class.

Environment

Reproducable on Windows and Linux with Postgresql 8.4

Status

Assignee

Strong Liu

Reporter

rsmoguraN

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

3.5.0-Beta-4

Priority

Major