I am converting from a Websphere environment to SAP NW. My DB2 database has strings in the keys, but when I define them in the NW dictionary I get "Dictionary Generation: SAPDBcheckWidth TABLENAME: index on BLOB, CLOB, LONGVARBINARY or LONGVARCHAR is not allowed". Anybody got any ideas? I have defined my database vendor as DB2_UDB in persistence.xml (in the EJB project), but I can't find anything in the dictionary project to tell it strings are OK!
If you need indexes on string columns then the column's width must not exceed about 300 characters. If you only need '%' in the where but no indexes then the next threshold is at about 1000 characters. Any strings longer than that are usually mapped onto a variation of LOB, reducing the available operators to = and !=.
helmut
Add a comment