Switch stataData to an untyped column so that Depot can do the right thing with

it. BLOB on MySQL has a maximum length of 65535, so we'll preserve those
semantics even though Depot will now use VARBINARY on MySQL for columns of
length 65535 and lower.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@398 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-08-07 17:20:22 +00:00
parent 30d7bc4be3
commit 96b42efbae
@@ -66,11 +66,8 @@ public class StatRecord extends PersistentRecord
@Column(name="STAT_CODE")
public int statCode;
/**
* The data associated with the stat. TODO: BLOB will break on PostgreSQL, which in turn
* will serve as an excellent TODO reminder that we need to figure out how to deal properly.
*/
@Column(name="STAT_DATA", type="BLOB")
/** The data associated with the stat. */
@Column(name="STAT_DATA", length=65535)
public byte[] statData;
/**