How to mapping Clob to String?
665760Dec 7 2009 — edited Dec 9 2009Hey :)
I'm trying to mapping a clob column to String but im doing something wrong because it always return null.
My CLOB column only has characters and this is the way that i'm trying:
@Lob
@Basic(fetch=FetchType.LAZY)
@Column(name="BG_DESCRIPTION")
private String bgDescription;
I've tried with FetchType.EAGER but doesn't work. I only want to retrieve values, how can i configure it to works?
Thx in advance
David