What EJB converter should you use if you have a BLOB column?
You need to use the VapUnicodeStreamToStringConverter for a Binary Large Object (BLOB) column.
Here are the steps to add the converter to your EJB-RDB mapping:
- Go to the J2EE perspective and open the Map.mapxmi file that is located in the database backends folder; you will see the mapping editor.
- In the Overview view, choose the column with BLOB type in the Enterprise Beans Column.
- In the Properties View, go to Properties Tab.
- Change the Transformation value to VapUnicodeStreamToStringConverter.
- Save the file.