+
Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Oracle driver not implemented #69

@lauhin

Description

@lauhin

Hi guys,

I tried to use sorm with an Oracle database. I got an error like:

Exception in thread "main" scala.NotImplementedError: an implementation is missing at scala.Predef$.$qmark$qmark$qmark(Predef.scala:230) at sorm.core.DbType$.driverClass(DbType.scala:42)

When I took a closer look, the Oracle driver is not implemented.
In your method 'byUrl' in the 'DbType' object the oracle case exists:

case u if u.startsWith("jdbc:oracle:") => Oracle

But in the 'driverClass' method, there is not Oracle driver case... Is it possible to add the oracle case? The driver is:

case DbType.Oracle => "oracle.jdbc.driver.OracleDriver"

Thanks guys!

Kind regards,

Laurent :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载