Post
by Dennis Wanke » Tue 15 Apr 2014 17:12
Yes, it was reproduced with Oracle 12c, but our product has to support several server versions (at least the two latest). And because it's a retail product, we neither can set the MAX_STRING_SIZE parameter ourselves nor can we dictate the customer to do so. The product should just work with any reasonable database configuration of any version supported (say, 11g and 12c).
Of course we can specify MaxLength explicitly for each and every NVARCHAR2 property in our SSDL, but firstly it's very uncomfortable (as there are lot of such properties) - e.g. comparing to SQL Server for that we haven't to do this; and secondly, doing so would have a slightly different meaning: "use always exactly the given length" instead of "use the maximal possible length that guaranteed supported by the target database system" (which is our real intention).
It all raises the question: is there any way for dotConnect to automatically detect if Extended Data Types are enabled on the server? If not, it should be an option to tell dotConnect about it (using a config-file, as the customer cannot recompile the product).