I'm getting the null
values from DB, but I need to display the empty string ""
instead.
For example, I have to append four values to display in the single cell of a Excel sheet like below:
sheet.addCell(new Label(4, currentRow, a.getPar()+" "+a.getO()+" "+a.getPar()));
How to achieve the expected result (the replacement) in Java?