You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to read the csv and try to map the column to the java POJO's but Its not mapping the. I am using csveed-0.4.1 version.
Bean Class
public class ProductSpecificationBean
{
private String tpnb;
public String getTpnb()
{
return tpnb;
}
public void setTpnb(String tpnb)
{
this.tpnb = tpnb;
}
}
csvFile Data
tpnb,event_name
254043,abcdef
Mapper Class
CsvClient csvClient = new CsvClientImpl(reader1, new BeanInstructionsImpl(
ProductSpecificationBean.class)).setMapper(ColumnNameMapper.class).mapColumnNameToProperty("tpnb", "tpnb");
I was trying to read the csv and try to map the column to the java POJO's but Its not mapping the. I am using csveed-0.4.1 version.
Bean Class
public class ProductSpecificationBean
{
private String tpnb;
public void setTpnb(String tpnb)
{
this.tpnb = tpnb;
}
}
csvFile Data
tpnb,event_name
254043,abcdef
Mapper Class
CsvClient csvClient = new CsvClientImpl(reader1, new BeanInstructionsImpl(
ProductSpecificationBean.class)).setMapper(ColumnNameMapper.class).mapColumnNameToProperty("tpnb", "tpnb");
OUT.info("ROW::::" + csvClient.readRow());
OUT.info("BEAN: "+csvClient.readBean());
MyResult
INFO - ROW::::org.csveed.row.RowImpl@5a2470ee
INFO - BEAN: null
Please help me to get resolve this issue as soon as possible.
The text was updated successfully, but these errors were encountered: