insert « Seam « JPA Q&A

1. hibernate , check database before inserting

2. how to insert an image using hibernate entity in Seam

Hi all, Can anybody please help me, I have written an entity to store images into the database,and written an action class to save the image to the database, and the view I have written in xhtml using richfaces. But when am executing am facing the following exception, am not understanding how to solve that .... any help will be appreciated. ...