What came to my mind is to change the export entity to a non-persistable entity to which you copy values of your object attributes. This way you could change values of “empty” attributes and set them to “ ” without changes in the actual object. Is this an acceptable solution for your problem?
I have just another question concerning the CSV format : I see that all the fields are surrounded by quotation marks (“ “).
Would it be possible to remove them as well before exporting ? Is there something to configure in order to do it ?
I believe you would have to modify ExportCSV.java of the appstore component for this.