Following on from [https://hibernate.atlassian.net/browse/HHH-16125|https://hibernate.atlassian.net/browse/HHH-16125|smart-link], we could allow:
{code:java}@ Array(length = 33) @ Column(length = 25) @JdbcTypeCode(SqlTypes.TABLE) String[] strings;{code}
in order to generate:
create or replace type StringArray as table of varchar2(25 char)
instead of:
create or replace type StringArray as varying array(127) of varchar2(25 char)
However, I think we should leave this as an incubating feature for now. |
|