D
D
Denis2016-04-14 18:02:05
Oracle
Denis, 2016-04-14 18:02:05

Is it possible to disable adding trailing spaces for Oracle?

Hello.
I use Hibernate to work with Oracle database.
There is a problem when adding string records.
For example, there is an NNN column with the NCHAR type of size 44.
When filling in this field, less than the specified size (for example: "AAAAA"), oracle itself adds spaces to the end of the string, up to the maximum specified size (it turns out: "AAAAA________________", where the underscore indicates space).
Can this be disabled or bypassed?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question