Do you change the database type?
If not I suppose that this will be an issue with your EJB3 (JPA) POJO's.
I might that the container work different and you must declare (annotate) the entity attribute to store it.
Please provide a bit more information about the error, the entity and the related DB table.