Comments and answers for "Inconsistent behaviour Oracle non-spatial vs. Oracle Spatial Objects writer" https://knowledge.safe.com/questions/84991/inconsistent-behaviour-oracle-non-spatial-vs-oracl.html The latest comments and answers for the question "Inconsistent behaviour Oracle non-spatial vs. Oracle Spatial Objects writer" Comment by paulnalos on paulnalos's comment https://knowledge.safe.com/comments/85186/view.html < div class = " fr-view clearfix”> < p > < rel = "用户"一定是f="/users/370/mhab.html" nodeid="370">@mhab: Again, fully agree.

I should also mention for you and others: If you're in a dynamic scenario and you want to uppercase the table names (e.g. with Oracle non-spatial), there is a simple workaround.

I made a Sqlite database with lowercase table names, and was able to use this workaround to automatically copy these table to Oracle (non-spatial) with uppercase table names.

I still hope to offer a proper solution to all of this. Timing yet to be determined.

Thu, 10 Jan 2019 22:05:14 GMT paulnalos
Comment by mhab on mhab's comment https://knowledge.safe.com/comments/85141/view.html

My current understanding and experience is:

Oracle Spatial Objects writer will force tablenames to UPPERCASE and dynamic schema still works even if lower-/mixed-case tablenames are used in the schema file. This situation works fine for me.

Oracle non-spatial writer does not change table names.

When I tried to UPPER the tablenames myself my schemafile no longer worked.

I do not have issues with attribute names, as they are always UPPER in my application. I see that these open up a set of problems I wasn't even aware of.

Thu, 10 Jan 2019 14:20:37 GMT mhab
Comment by paulnalos on paulnalos's comment https://knowledge.safe.com/comments/85108/view.html

> ... as long as a dynamic schema definition would still work

Indeed! That is part of the challenge here. From your comment, I suspect you're aware that the Oracle writers' "Uppercase Column Names" setting doesn't work in dynamic schema mode. That's tracked by our FMEENGINE-47925.

I think the best case would be to fix that issue, and also make a similar option for table names. However, we don't have a concrete timeline for this work at this time.

2019年1月结婚,09年23:50:38 GMT paulnalos
Comment by mhab on mhab's comment https://knowledge.safe.com/comments/85106/view.html

Thanks Paul for the insight. I fully agree.

As a sidenote: Esri ArcCatalog is in trouble with small letter/mixed case Oracle tablenames. They are listed, but if I try to access/drop them is says something like "table is not existing".

So optional forcing to UPPERCASE would really help, as long as a dynamic schema definition would still work ;-)

Wed, 09 Jan 2019 23:22:25 GMT mhab
Comment by paulnalos on paulnalos's comment https://knowledge.safe.com/comments/85093/view.html

Oracle Spatial has a requirement that spatial table and column names must be all-caps, which is why our Oracle Spatial Object writer has the restriction on all-caps table names.

Doc reference: https://docs.oracle.com/en/database/oracle/oracle-database/18/spatl/spatial-datatypes-metadata.html#GUID-76097710-5E16-4A2F-8DCA-6BCC2C6E4429 (There is a note just above this link that suggests non-all-caps table names might be possible, just strongly unrecommended; however I was not able to make this work while testing Oracle 12c yesterday.)

We lifted this restriction for our Oracle non-spatial writer some years ago as it wasn't needed. However, I can see how the resulting inconsistency causes pain. A number of users would like an *option* to make the Oracle non-spatial (and other database) writers force uppercase (or perhaps lowercase) table names, similar to what is currently possible for column names. That's something we're looking into for the future.

Wed, 09 Jan 2019 19:45:52 GMT paulnalos
Comment by mhab on mhab's comment https://knowledge.safe.com/comments/85019/view.html

Good to hear. For now I will write everything with Oracle Spatial writer.

Thinking back on non-spatial problems with GeoPackage it is like a Deja Vue ;-)

Tue, 08 Jan 2019 22:35:10 GMT mhab
Comment by daleatsafe on daleatsafe's comment https://knowledge.safe.com/comments/85006/view.html

We're going to check into this and see what can be done -- longer term we will fix this, but it may be more involved than a quick fix would allow. Sorry about the inconvenience but thanks for pointing it out.

Tue, 08 Jan 2019 18:31:48 GMT daleatsafe
Comment by david_r on david_r's comment https://knowledge.safe.com/comments/84996/view.html

I just checked with FME 2018 and 2019, and indeed you're right...

Tue, 08 Jan 2019 16:41:33 GMT david_r
Comment by mhab on mhab's answer https://knowledge.safe.com/comments/84995/view.html

Yes, it doesn't affect the tablename.

Tue, 08 Jan 2019 16:36:06 GMT mhab
Answer by david_r https://knowledge.safe.com/answers/84993/view.html

Just a hunch, have you tried unchecking the option "Uppercase Column Names" when creating the Oracle Spatial Object writer?

From the docs:

If this parameter is checked, the writer automatically makes the column names uppercase, and disallows characters in the column names that require quoting within Oracle. This parameter is only applicable when generating a writer.
Tue, 08 Jan 2019 16:34:05 GMT david_r