but that would require the sql type to be avail in all db servers where this is used correct?
how could this be set in the persistence.xml or orm file on per db basis? like forcing a dictionary change? thx Alejandro (phone typing) On Jul 16, 2013, at 19:36, Ted <r6squee...@gmail.com> wrote: > this is what I do > > @Column(nullable = false, columnDefinition = "tinyint(1)") > > change the tinyint to what ever you want > > On 7/17/13, Virag Kothari <vi...@yahoo-inc.com> wrote: >> 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 > > > -- > Ted.