question background
A field type in both the database table and the entity class is a string type, but in the case of consecutive zeros, the actual storage in the database is "0"-zero.
try
- has tried non-zero numbers, which is normal, so consider whether it is caused by some policy of ORACLE .
- tried to add a space "0000" to the beginning and end, which is also invalid
expected answer
- whether there is a strategy for oracle: for the data character type "0000000." Do the head and tail blanks and then re-operate?
- how can I avoid this strategy if I want to implement data with an error format of "0000"?