Hi,
After upgrading from Hibernate 3.5.x to 3.6.3 I have had problems getting Hibernate to use @Lob annotation.
It works when the @Lob is applied to the class member but not when it is applied to the class method.
This results in xmlMsg VARCHAR2(255) using ojdbc6 driver (Oracle):
Code:
private String xmlMsg;
@Lob
public String getXmlMsg(){
return xmlMsg;
}
However, this works and creates a CLOB type in Oracle.
Code:
@Lob
private String xmlMsg;
public String getXmlMsg(){
return xmlMsg;
}
I'm also using Spring 3.0.5 if thats matters.
Anyone else having the same problem?