GithubHelp home page GithubHelp logo

Comments (3)

kostafey avatar kostafey commented on August 11, 2024 1

Issue fixed. Sorry for the late response.

from ejc-sql.

grtcdr avatar grtcdr commented on August 11, 2024

Hi, I'm experiencing this as well. In my case, I'm using Oracle XE (ver. 21C) as my database, and connecting to it remotely.

My output is slightly different, but still very similar to yours:

Wrong type argument: stringp, ("ELisp" (lexical-binding (:propertize "/l" help-echo "Using lexical-binding mode") (:propertize "/d" help-echo "Using old dynamic scoping mode
mouse-1: Enable lexical-binding mode" face warning mouse-face mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 . elisp-enable-lexical-binding))))))

EDIT: Through a bit of configuration on the database side, I've managed to move past the aforementioned error, but now I'm stuck facing this one instead:

ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  (CONNECTION_ID=VDVJLgzeQhmveBJbZix6YQ==)  oracle.net.ns.NSProtocolNIO.createRefusePacketException (NSProtocolNIO.java:816)

My configuration is as follows:

(use-package ejc-sql
  :ensure t
  :config
  (ejc-eldoc-setup)
  (ejc-ac-setup)
  (ejc-create-connection
   "ORACLE-JDBC"
   :classpath (getenv "OJDBC_PATH")
   :dbtype "oracle"
   ;; "MYDB" is a pluggable database, with its own listener and port.
   :dbname "MYDB"
   :host "REDACTED"
   :port "REDACTED"
   :user "REDACTED"
   :password "REDACTED"
   :separator "/")
  
  :custom
  (clomacs-httpd-default-port 8090)
  (ejc-completion-system 'standard))

I've tried all combinations of :dbtype, none have worked so far.


Just to be sure, I went ahead and tried a different connection. This time I used a local SQLite database, here's the connection expression:

  (ejc-create-connection
   "SQLite DB (test.db)"
   :classpath (concat "~/.m2/repository/org/xerial/sqlite-jdbc/"
                      "3.8.11.2/sqlite-jdbc-3.8.11.2.jar")
   :subprotocol "sqlite"
   :subname (concat "file://"
                    (file-truename "~/test.db")))

I wasn't successful here either, the error output was:

Wrong type argument: stringp, ("ELisp" (lexical-binding (:propertize "/l" help-echo "Using lexical-binding mode") (:propertize "/d" help-echo "Using old dynamic scoping mode
mouse-1: Enable lexical-binding mode" face warning mouse-face mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 . elisp-enable-lexical-binding))))))

from ejc-sql.

md-zengo avatar md-zengo commented on August 11, 2024

I'm experiencing the same issue.

mouse-1: Enable lexical-binding mode" face warning mouse-face mode-line-highlight local-map (keymap (mode-line keymap (mouse-1 . elisp-enable-lexical-binding))))))
Mark set ```

from ejc-sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.