Oracle Spatial Dialect non-string mode is unavailable

Description

Hi,

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
id: 8d2de0beaa4511f63d01d3a861c6444d2ca31993
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;
64 -
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.

Thanks

Zoltan

Environment

None

Status

Assignee

Unassigned

Reporter

Zoltan Takacs

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.10
5.2.5
5.1.3
5.2.3
5.2.0
5.2.1
5.0.11
5.1.2
5.2.2
5.1.1
5.2.4
5.1.0
5.0.9

Priority

Critical