support for string and long constraints ( BACKLOG-3856 )