For example:
In MySQL. the data type Text
,
If we have a column defined as Text
in a MySQL table, when to retrieve value of this column in JDBC, you get the value with excess trailing spaces, you can call String#trim(),
but if such column is intended to accept space characters (hit space key when input). What can I do then?
MySQL Text is only for example, please consider other similar data types in other database.