Skip to Content
Jul 03, 2014 at 03:31 PM

Is it a good idea to have Object as column type


Hi All,

Need one clarification as for one of the business requirement we would like to store an object of type LinkedHashMap along with the item.

I've made the below change in items.xml and the code is working fine.

 attribute type="java.lang.Object"

Database: MS Sql Server

Column Type in DB Server: Image

Is there any better approach for the same.

Thanks in advance.