Hi All,

I faced $Subject in Oracle database while running integration test on C5 on
top.

*Observation*

when insert empty string ("") it was save as null in database.

While going through SO I had found [1] , which did happen in oracle
database.


We have come up with several ways to handle empty strings which user sends
through the rest api.

1.  Validate the request and send error when giving empty strings
2.  Set default value like "N/A" into the fields which send as empty.

Is there any other way to handle this problem ?.

[1] -
http://stackoverflow.com/questions/13278773/null-vs-empty-string-in-oracle

Thanks


*Tharindu Dharmarathna*Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to