In our environment OGC String mode has serious performance problems, because Oracle not properly use indexes. So OGC_STRICT=false is needed for us.
I have upgraded hibernate-special from 5.0.7 to 5.0.10 (based on hibernate versions used in Wildfly 10.0.0.Final and 10.1.0.Final).
As I see in commit
comment: - Oracle Spatial Dialect locates ConnectionFinder using Registry
the not strict mode became unavalilable
61 - this.isOgcStrict = config.isOgcStrictMode();
62 - final ConnectionFinder finder = config.getConnectionFinder();
63 - this.connectionFinder = finder == null ? new DefaultConnectionFinder() : finder;
60 + this.isOgcStrict = true;
In the comment issue is mentioned. This issue has in progress status, so I guess it is not intended to be in Hibernate releases from 5.0.9.