Uploaded image for project: 'Hibernate ORM'
  1. Hibernate ORM
  2. HHH-11301

Oracle Spatial Dialect non-string mode is unavailable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.1.0, 5.0.9, 5.0.10, 5.2.0, 5.2.1, 5.2.2, 5.1.1, 5.0.11, 5.1.2, 5.2.3, 5.2.4, 5.1.3, 5.2.5
    • Fix Version/s: 5.2.8
    • Component/s: hibernate-spatial
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      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: HHH-7132 Closed - 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 HHH-7132 Closed 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

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: