openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Halbert <j...@su3analytics.com>
Subject Binary column
Date Wed, 03 Nov 2010 11:48:37 GMT
I'm trying to define a byte[] property as a binary mysql type, like so:

|@Column(name="HASH_PATHQRY",  columnDefinition="BINARY(8)")
public  byte[]  getHashPathQry()  {
     return  hashPathQry;
}|


but the column is always created as a blob.

Any clues?

Also posted to StackOverflow here: 
http://stackoverflow.com/questions/4086525/open-jpa-column-definition-binary

Thanks
Joel

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