[DBAL-74] OracleSchemaManager - incorrectly detected the length of the string columns Created: 07/Dec/10 Updated: 12/Dec/10 Resolved: 12/Dec/10
|Reporter:||Miloslav "adrive" Kmet||Assignee:||Benjamin Eberlei|
When I create a VARCHAR2 column with the length specified in char units (VARCHAR2(10 CHAR)) instead of the default byte, the metadata stored in all_tab_columns -> data_length is not 10, but 40. It is better to use char_length instead of data_length. Char_length is the same wheter the size unit is in CHAR or BYTE.
It is neccessary for me to use CHAR instead of the default BYTE, because I am using unicode charset.
|Comment by Miloslav "adrive" Kmet [ 07/Dec/10 ]|
|Comment by Benjamin Eberlei [ 07/Dec/10 ]|
Can I appoint you to Doctrine's Oracle specialist?
Thank you very much, I will merge that as soon as i have time.
|Comment by Benjamin Eberlei [ 12/Dec/10 ]|