I have problems with mapping of an image to an postgresql database. A byte[] attribute holds my image data. The column type is bytea. The mapping look like:
<class-descriptor class="de.mobiharz.model.media.Image" table="images">
...
<field-descriptor
id="3"
name="image_data"
column="imag_data"
jdbc-type="BINARY"/>
...
</class-descriptor>If I store the object to database and get it back, the length of the byte[] is bigger than the original length.
It would be nice , if somebody can help
Bj�rn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
