This content has been marked as final.
Show 5 replies
-
1. Re: Strange column wrong type
cchee May 16, 2007 4:07 PM (in response to cchee)better binary attachment
should bebigger binary attachment
-
2. Re: Strange column wrong type
bulloncito May 16, 2007 6:13 PM (in response to cchee)... by the way, beware of
@Basic(fetch = FetchType.LAZY)
as hibernate documentation states, bytecode instrumentation is required for lazy fetching of individual fields. That's a tricky one. -
3. [Resolved] Re: Strange column wrong type
cchee May 17, 2007 12:32 PM (in response to cchee)bulloncito,
thanks for the info. anyway, I figured it out. All i need to do is to change@Column(name = "asset_request", nullable = false)
to@Column(name = "asset_request", nullable = false, columnDefinition="mediumblob")
-
4. Re: Strange column wrong type
cchee May 17, 2007 12:34 PM (in response to cchee)I wonder if this approach is portable though. My guess is it is not. Can someone with more experience with Seam confirm this for me? Thanks in advance.
-
5. Re: Strange column wrong type
bulloncito May 17, 2007 2:13 PM (in response to cchee)I've not much experience with seam, but a bit with hibernate, and the main thing 'bout hibernate is that it supports multiple DBs and is intended to be portable, so should your code should be portable as well.