Re: how to avoid DataImportHandler from interpreting "tinyint(1) unsigned" value as "Boolean" value?

2013-01-28 Thread nanyang cai
Just add a config attribute `convertType="true"` in the db-data-config.xml will solve my problem. like below: 2013/1/22 nanyang cai > Hi, > > DIH is really handy. But I found it interpret "Tinyint(1) unsigned" values > as "Boolean" values. In m

how to avoid DataImportHandler from interpreting "tinyint(1) unsigned" value as "Boolean" value?

2013-01-21 Thread nanyang cai
Hi, DIH is really handy. But I found it interpret "Tinyint(1) unsigned" values as "Boolean" values. In my case, we have a column 'status tinyint(1)', who could hold value of (0, 1, 2, 3); My configuration as blow: db-data-config.xml : schema.xml: But search results after indexing: