In the previous versions of Hibernate, it had the static api Hibernate.createClob(String), which allowed to create Clob object from String.
Now that this is deprecated, what is the proper way to store String as Clob in Hibernate?
I am having trouble figuring out how the Persistence Object (POJO) will look like.
Thank you.
JPA @Lob annotation:
See http://docs.jboss.org/hibernate/annotations/3.5/reference/en/html/entity.html for more info.