@Lob annotation fails

March 20th, 2009

Applies to:
Hibernate

Description:
Occurs at application startup.

Cause:
Annotation @Serialized was working for You, and now You used @Lob but it failed.

admin JAVA-Hibernate

  1. admin
    March 20th, 2009 at 10:28 | #1

    Due to a change in the EJB3 specification, @Serialized is gone and has been replaced by a mapping through a blob. Many JDBC drivers have issues with Blob. @Serialized can be replaced by @Type(type=”serializable”).

  1. No trackbacks yet.