Actually I went ahead and allowed @Lob + INTEGER based on the fact that the fact that the Java (String) is Serializable. So what happens here is that the Integer value on the database is serialized as a BLOB.
Highly questionable, I agree. But it is what your mapping asked for. Longer term when we get around to fixing/rewriting the annotation binding we can revisit the question of whether such a mapping is legal or should result in an exception.
|