git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application/perform-service@177260 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a845d703b0
commit
d446cf2f3f
|
@ -172,7 +172,10 @@ public class ImportedTable {
|
|||
for(Entry<String,String> csvField:csvRow.entrySet()) {
|
||||
DBField toSetField=labels.get(csvField.getKey());
|
||||
|
||||
Object value=csvField.getValue();
|
||||
Object value=csvField.getValue();
|
||||
if(csvField.getValue()==null
|
||||
||csvField.getValue().isEmpty()) value=null;
|
||||
|
||||
if(value!=null)
|
||||
try {
|
||||
switch(toSetField.getType()) {
|
||||
|
|
Loading…
Reference in New Issue