To save image, sound, other binary data in database, we handle these data as binary(byte[]) in Java.

Same as general Java, we need to them as byte[] type.

Add @DatabaseField(dataType=DataType.BYTE_ARRAY)  for it.


public class Setting
	private Integer id;
	private String uuid;

	private byte[] img;

        public byte[] getImg ( )
		return img;

	public void setImg ( byte[] img)
		this.img= img;

Only things to do is add dataType, other is same.
You can handle as byte[] in other part.