StarRocks, your development environment has a tool called a debugger. Debuggers have the ability to stop program execution when it reaches a given place in the source, inspect the value of variables, and single-step through your code (among many other cool and useful things). You should use your debugger to stop the program when it reaches the if() at line 85 and single step through your code. Doing this will make it obvious why it does not write to a database if the input is all alphabetic characters.
Bookmarks