openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Virag Kothari <vi...@yahoo-inc.com>
Subject byte[] mapped to BLOB and not VARBINARY
Date Tue, 16 Jul 2013 19:30:02 GMT
Hi All,

Is there a annotation which can hint the mapping from byte[] to VARBINARY?
I have the following defined but the column gets mapped to a BLOB and not VARBINARY. This
is happening for Oracle.

    @Basic

    @Column(name = "foo")

    private byte[] foo = null;


Thanks,

Virag

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message